W3C home > Mailing lists > Public > www-validator@w3.org > February 2005

Re: Name attribute

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Wed, 9 Feb 2005 13:54:19 +0200 (EET)
To: www-validator@w3.org
Cc: Teun Kloosterman <teunkloosterman@gmail.com>
Message-ID: <Pine.GSO.4.58.0502091349120.10270@korppi.cs.tut.fi>

On Wed, 9 Feb 2005, David Dorward wrote:

> > Isn't it so that all of the name attributes were removed in xhtml?
> No. A number have, and some have been deprecated, but there are still
> name attributes in the specification. They are rather essential, for
> example, for naming form controls.

Indeed. There is a common confusion around this issue, perhaps caused by
some less than perfect formulations in specifications and tutorials.

The rules for name attributes are almost the same in XHTML 1.0 as in HTML
4.01. However, for form and img attributes, the name attribute does not
exist in XHTML 1.0, at least not in the DTDs, which are what matters in
validation. Note that the prose in the XHTML 1.0 specification does not
say this - in fact, it more or less claims the opposite.

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Wednesday, 9 February 2005 11:54:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:44 UTC