There are other tags that can be used to format text, a limited sample of which are given below. Note again that these describe what the content between the opening closing tags is; what it looks like is immaterial, in this context.
<dfn>
- specifies that a word is defined inline (to be useful, the opening
<dfn>
tag requires atitle
attribute with its value set to the definition of the term. You’ll see this title definition appear when you move your mouse over the word in a browser.) <abbr>
- specifies that the word is an abbreviation; same requirements and features as
<dfn>
above <q>
- defines a short quotation
<sup>
- defines superscript ordinal text, such as for a footnote.
<sub>
- defines subscript text
Finally, note that all of these tags must be nested inside another that provides a context for the block of text as a whole: typically <p>
, although there are many other possibilities.
Photograph by Camilla Hoel, used under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Generic license
Enjoy this piece? I invite you to follow me at twitter.com/dudleystorey to learn more.