W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2008

[whatwg] Feeedback on <dfn>, <abbr>, and other elements related to cross-references

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Mon, 21 Apr 2008 01:34:50 +0200
Message-ID: <480BD31A.9050009@lachy.id.au>
Ian Hickson wrote:
> On Fri, 14 Oct 2005, Lachlan Hunt wrote:
>> Just a few issues regarding the use of abbr and dfn elements.
>>
>> *The abbr Element's title Attribute*
>>
>> I think the title attribute should also be allowed to be omitted from 
>> the abbr element if there is another abbr element with a title attribute 
>> for the same abbreviation in the document.  This would be very useful 
>> for cases where the same abbreviation is used multiple times, but is not 
>> defined (using <dfn>) anywhere in the document.
> 
> Why would that instance not use <dfn>?

It's quite common to use abbreviations without defining what they mean 
the first time they're used in each document.

So in a document that discusses, for example, something about HTML and 
marks up the first instance as <abbr title="Hypertext Markup 
Language">HTML</abbr>, but doesn't actually define what HTML is, it 
wouldn't be appropriate to use <dfn>.  The idea was that subsequent 
instances of of the abbreviation would be marked up without the title 
attribute, but that would only be useful with the cross-referencing feature.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/
Received on Sunday, 20 April 2008 16:34:50 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:01 UTC