W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2007

[whatwg] W3C compatibility

From: Nicholas Shanks <contact@nickshanks.com>
Date: Mon, 12 Feb 2007 17:11:01 +0000
Message-ID: <2D87668D-222E-4074-BDAB-085ABB94BE4F@nickshanks.com>
On 12 Feb 2007, at 16:40, David Latapie wrote:

>>> The rationale was that the difference between <abbr> and  
>>> <acronym> is
>>> presentational.
>> <span class="ex-acronym">CERN</span>
>> <abbr class="initialism">FBI</abbr>
>> <abbr class="acronym">NASA</abbr>
>> <abbr class="contraction">Leut.</abbr>
>
> Why do you use both <span class="ex-acronym"> and <abbr
> class="acronym">?
>
> The way I see it
>
> Abbreviation
> 	Hyperonym (superset) for initialisms and acronyms
> Acronym
> 	Abbreviation that you can pronounce as a word (NASA)
> Initialism
> 	Abbreviation that you can spell letter-by-letter (FBI)


I have for several years have been using the following on a few  
important documents (such as my CV):

<abbr class="initialism|truncation|acronym">
<acronym> = a sub-type of abbr

Which is styled by

abbr, acronym { font-style: inherit; border-width: 0; }
@media aural, speech, spoken
{
	abbr, acronym { speak: normal; }
	abbr.initialism { speak: spell-out; }
	abbr[title].truncation { speak: normal; content: attr(title); }
}

I considered <abbr class="acronym"> and <acronym> the same, but used  
the latter on most pages because of WinIE.

- Nicholas.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2157 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070212/7f5a858a/attachment.bin>
Received on Monday, 12 February 2007 09:11:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:32 UTC