[thelist] javascript - how to refer to (x)html elements
Tim Burgan
burgan at iprimus.com.au
Wed Nov 12 06:58:02 CST 2003
I've realised that the name attribute is depreciated, but only for certain
elements.
Thanks to Ineke van der Maat the explanation regarding depreciated elements.
The attribute name is not appreciated for elements as input, only on the
<a> and <map> elements. Here are the difference between xhtml 1.0 and
xhtml 1.1 concerning the attribute name:
http://www.w3.org/TR/xhtml11/changes.html#a_changes:
On the a and map elements, the name attribute has been removed in favor
of the id attribute (as defined in [XHTMLMOD]).
Cheers
Tim
More information about the thelist
mailing list