W3C home > Mailing lists > Public > www-style@w3.org > February 2005

Re: [css21] multiple ID attributes with the same value

From: Robin Berjon <robin.berjon@expway.fr>
Date: Mon, 14 Feb 2005 17:44:16 +0100
Message-ID: <4210D560.8080409@expway.fr>
To: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Cc: www-style@w3.org

Philip TAYLOR wrote:
>> It is _much_ _much_ more common for people to abuse the "class" 
>> attribute than the "id" attribute. In fact abuse of "id" is rare.
> 
> Maybe.  But it exists :
> 
>     http://validator.w3.org/check?uri=http://www.eyrolles.com/

Yuk.

> How does one abuse a "class" attribute, btw ?

Mostly by creating documents in DIV-soup: with almost only DIVs and 
SPANs and using the class name to (attempt to) convey semantics. It's 
not always entirely avoidable in XHTML due to its limited semantics but 
it's not rare to see <div class='address'> where <addr> would've worked.

-- 
Robin Berjon
   Research Scientist
   Expway, http://expway.com/
Received on Monday, 14 February 2005 16:44:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:35 GMT