Abbr: Difference between revisions From Online Manual

Jump to: navigation, search
m (Bot: Automated text replacement (-[ +[))
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
|tag=abbr
|tag=abbr
|description=
|description=
The abbr tag allows you to specify abbreviations with titles, which are usually displayed when you hover. The abbr and acronym tags are usually displayed the same in browsers, and you can use either depending on whether you want to display abbreviations, acronyms or just have extra information. This is an inline tag and no block level tags can be placed inside, however other inline tags can be if nested correctly.  
The abbr tag allows you to specify abbreviations with titles, which will be displayed when you hover over the indicated text. The abbr and acronym tags are usually displayed the same in browsers, and you can use either depending on whether you want to display abbreviations, acronyms or just have extra information. This is an inline tag and no block level tags can be placed inside, however other inline tags can be used if nested correctly.  
If the abbreviation's title contains complex characters, place it in quotes.
If the abbreviation's title contains complex characters, place it in quotes.
<abbr title="Simple Machines Forum">SMF</abbr>
<abbr title="Simple Machines Forum">SMF</abbr>
|example=[abbr=&quot;a.k.a. [Unknown&#93;&quot;&#93;Unknown W. Brackets[/abbr&#93;
|example=[abbr="a.k.a. [Unknown]"]Unknown W. Brackets[/abbr]
|result=<abbr title="a.k.a. [Unknown&#93;">Unknown W. Brackets</abbr>;
|result=<abbr title="a.k.a. [Unknown]">Unknown W. Brackets</abbr>;
}}
}}


[[Category:Bulletin Board Code]]
[[Category:Bulletin Board Code]]
[[Category:Text Formatting Bulletin Board Code]]
[[Category:Text Formatting Bulletin Board Code]]

Latest revision as of 15:34, 2 July 2013

description: The abbr tag allows you to specify abbreviations with titles, which will be displayed when you hover over the indicated text. The abbr and acronym tags are usually displayed the same in browsers, and you can use either depending on whether you want to display abbreviations, acronyms or just have extra information. This is an inline tag and no block level tags can be placed inside, however other inline tags can be used if nested correctly. If the abbreviation's title contains complex characters, place it in quotes. SMF

example: [abbr="a.k.a. [Unknown]"]Unknown W. Brackets[/abbr]

result: Unknown W. Brackets;



Advertisement: