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

id attribute - SGML ID or SGML NAME?

From: Peter Foti (PeterF) <PeterF@SystolicNetworks.com>
Date: Tue, 15 Jul 2003 13:11:26 -0400
Message-ID: <A10A983C9DFBD4119F0300104B2EA6B726038C@ZIPPY>
To: "'www-html@w3.org'" <www-html@w3.org>

Both the Strict DTD and the Transitional DTD for HTML 4 list that the "id"
attribute is of the SGML basic type "ID":


However, if you follow the link on the "id" attribute, it brings you to the
"Element identifiers" section of the HTML 4 specification, where it lists
the "id" attribute as being of the SGML basic type "name":


For all practical purposes, I don't think it matters, since both types seem
to have the same restrictions.  However, for correctness and consistency, I
think that this discrepency should be addressed (if it has not been
already... I did not see anything in the Errata regarding this discrepency).
In addition, I don't know whether a similar discrepency exists in any of the

Peter Foti
Received on Tuesday, 15 July 2003 12:57:06 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:04 UTC