W3C home > Mailing lists > Public > www-html@w3.org > September 2001

Re: NAME or ID ?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 18 Sep 2001 16:18:07 +0200
To: Murray Macdonald <murray@mha.ca>
Cc: www-html@w3.org
Message-ID: <bdleqto5o7cvhfi4rqp70sq66k9f9v1cut@4ax.com>
* Murray Macdonald wrote:
>Is there a favored way to identify instances in new tags?  

I think you are talking about new _elements_...

>  a) <newtag name="foo"/>
>
>  b) <newtag id="foo"/>
>
>Can someone please help me identify the preferred solution
>according to the W3?

You must be talking about XHTML so I suggest to take a look at
http://www.w3.org/TR/xhtml-modularization/ If you new attribute
has the content model ID, you should call it 'id'; this isn't
stateted there, but the logical approach.
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Tuesday, 18 September 2001 10:19:20 GMT

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