این ترجمه ناقص است. لطفاً در ترجمه این مقاله از انگلیسی کمک کنید.
عنصر <abbr> (یا عنصر مخفف) نشان دهننده مخفف و به صورت اختتیاری شرحی کامل برای آن است. درصورت وجود شرح ، باید آن را به طور کامل بدون چیز دیگری در در صفت title بنویسید.
<p>I do <abbr title="Hypertext Markup Language">HTML</abbr></p>
See more in depth examples in the How to mark abbreviations and make them understandable article.
| DOM Interface | HTMLElement |
|---|---|
| Content categories | Flow content, phrasing content, palpable content |
| Permitted content | Phrasing content |
| Permitted parent elements | Any element that accepts phrasing content |
صفات
این عنصر تنها شامل صفات عمومی است.
برای تعریف شرح کامل مخفف از صفت title استفده کنید.
مشخصات
| مشخصه | وضعیت | توضیح |
|---|---|---|
| HTML Living Standard The definition of '<abbr>' in that specification. |
Living Standard | |
| HTML5 The definition of '<abbr>' in that specification. |
Recommendation | |
| HTML 4.01 Specification The definition of '<abbr>' in that specification. |
Recommendation |
سازگاری با مرورگر
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | 2.0 | 1.0 (1.7 or earlier) [1] | 7.0 | 1.3 | (Yes) |
| Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|
| Basic support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
[1] Up to Gecko 1.9.2 (Firefox 3.6), Firefox implemented the HTMLSpanElement interface for this element instead of the HTMLElement interface.
ظاهر پیش فرض
هدف از این عنصر صرفا راحتی نویسند است و همه مرورگر ها آن را به صورت خطی (inline) نمایش میدهند.
- برخی از مرورگر های مانند Internet Explorer ، این عنصر را همانند عنصر
<span>نمایش میدهند - Opern ، Firefox و برخی دیگر به محتوای آن یک آندرلاین نقطه نقطه اضافه میکنند.
همچنین ببینید
- Using the <abbr> element
- Other elements conveying text-level semantics:
<a>,<em>,<strong>,<small>,<cite>,<q>,<dfn>,<time>,<code>,<var>,<samp>,<kbd>,<sub>,<sup>,<b>,<i>,<mark>,<ruby>,<rp>,<rt>,<bdo>,<span>,<br>,<wbr>.

