W3C home > Mailing lists > Public > www-html@w3.org > June 2008

Re: name="" deprecated in XHTML

From: Sebastian Mendel <lists@sebastianmendel.de>
Date: Wed, 25 Jun 2008 15:58:41 +0200
Message-ID: <48624F11.6070501@sebastianmendel.de>
To: w3-html <www-html@w3.org>

Franklin Tse schrieb:
>> i used to use name="" to group equal elements, or in other words, same 
>> element placed more than once on a page
>>
>> e.g. a footnote <sup name="footnote_1">1</sup>
>>
>> (and than i used the name to attach a mouse hover event to it which 
>> displayed the content from the bottom in a bubble hint)
>>
>> but this is now deprecated
>>
>> does this makes sense?
> 
> The class attribute appears to be more suitable for grouping.

no, not really, class groups element of the same 'class'

  like: cars, convertibles, trucks, ...
  or even: red trucks, large cars, ...
  or: red ones, large ones, ...

name groups same elements

  like: Ford Mdoell T

id identifies every single element

  like: Ford Modell T number 123

do you know what i mean?

-- 
Sebastian Mendel
Received on Wednesday, 25 June 2008 14:04:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:14 GMT