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

Re: name="" deprecated in XHTML

From: David Dorward <david@dorward.me.uk>
Date: Tue, 1 Jul 2008 14:55:07 +0100
Message-Id: <B94C0C8F-0BF8-4579-849C-0F02A26B2A65@dorward.me.uk>
To: w3-html <www-html@w3.org>

On 1 Jul 2008, at 14:20, Sebastian Mendel wrote:

> yes, you can do all the things you could do with name also with  
> class, but you could also do all the things you can do with class  
> with the id

No, you can't. @id does not let you mark an element as being part of a  
group.

> but this is not the question, i think there are more elements/ 
> attributes which could be removed and their targeted using could be  
> reached another way

> id = unique per document, one per element
> class = non-unique, more per element

Yes.

> name = non-unique, one per element

Depending on which element the attribute is applied to.

> it is common to change classes of an element on the fly or dynamic

So what?

> name shouldn't

Why not?

> classes are overlapping, names not

I have no idea what you mean by that.

> it makes things more clear

How so?

-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
Received on Tuesday, 1 July 2008 13:55:46 GMT

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