On Tue, 17 Feb 2004 08:50:27 +1100, Mark Parnell
<we*******@clarkecomputers.com.au> wrote:
On Mon, 16 Feb 2004 19:30:22 +0100, aragon <me@privacy.net> declared in
comp.infosystems.www.authoring.html,alt.html:
is it legal to use a fully-numeric string as "name" attribute for the
<select> tag in the XHTML standard?
The name attribute is deprecated in XHTML.
http://www.w3.org/TR/xhtml1/#h-4.10
Pardon? Try reading that section again:
"...the name attribute for the elements a, applet, form, frame,
iframe, img, and map...is formally deprecated, and will be removed
in a subsequent version of XHTML."
Where in that list of elements is SELECT, or any form element for that
matter, mentioned[1]? Also, can you please explain why the name attribute
is listed for SELECT in the strict DTD for XHTML if it's deprecated?
For the use of fragment identifiers and (I think) scripting, the use of
name should be avoided. However it is still perfectly valid with form
controls as that name is used during submission.
[snip]
Is it valid also for all the other XHTML tags?
To the OP: name is only valid for form controls or where otherwise
presented in the Strict XHTML DTD[2]. In all other elements, it has been
deprecated.
[snip]
Mike
[1] Be aware that the entire second paragraph in that quote is missing as
it only relates to fragment identifiers, which has no bearing on the OP's
question. In the third paragraph, where my quote resumes, the text, "the
name attribute of these elements", refers to the elements listed in the
first paragraph.
[2] A mark-up version of the Strict XHTML DTD:
http://www.w3.org/TR/xhtml1/dtds.htm...TML-1.0-Strict
--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)