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

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 UTC