- From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
- Date: Tue, 01 Jul 2008 08:37:08 +0100
- To: Sebastian Mendel <lists@sebastianmendel.de>
- CC: Johannes Koch <koch@w3development.de>, www-html@w3.org
Benjamin Hawkes-Lewis wrote: > 1. NAME as unique element identifier (A, APPLET, FORM, FRAME, IFRAME, > IMG, MAP); deprecated in favour of ID. If ID is present on the same > element, the values must be the same. This attribute has the NAME data > type ( http://www.w3.org/TR/html401/types.html#type-name ). Sorry, NAME as unique identifier has data type CDATA, whereas ID is type ID ( http://www.w3.org/TR/html4/types.html#type-id ). I always get that confused. Conceivably that holds a clue to David Woolley's pondering ("The only thing I don't understand is why it's uses as an alternative to @id wasn't deprecated in HTML 4."). The spec notes: "Authors should consider the following issues when deciding whether to use id or name for an anchor name: ... The name attribute allows richer anchor names (with entities)." http://www.w3.org/TR/html4/struct/links.html#h-12.2.3 -- Benjamin Hawkes-Lewis
Received on Tuesday, 1 July 2008 07:37:46 UTC