← Prev in month ← Prev in thread
Next in thread → Next in month →

Using XHTML and CSS to mark up and style the abbreviation "XML"

From
Costello, Roger L. <>
To
Date
2008-10-05T18:51:54Z
ID
<>
Thread
Using XHTML and CSS to mark up and style the abbreviation "XML"
Hi Folks,

For accessibility reasons abbreviations should be marked up using the
XHTML <abbr> element, and its title attribute should contain the
non-abbreviated form. For example, here's how to markup the
abbreviation XML:

<abbr title="Extensible Markup Language">XML</abbr>

"For abbreviations and acronyms in the midst of normal text, use spaced
small caps." [The Elements of Typographical Style by Robert Bringhurst,
section 3.2.2, page 48.]

On this Web page I show "XML" in the midst of normal text. I show it
both unstyled and styled as Bringhurst recommends. Also, I show the CSS
to accomplish the styling.

http://www.xfront.com/marking-up-and-styling-abbreviations/

/Roger
← Prev in month ← Prev in thread
Next in thread → Next in month →