on 8/12/00 12:11 AM, aardvark at roselli at earthlink.net wrote: > >> features that are not part of the W3C recommendation. Ever used a name >> attribute on an image to create a rollover? Boom, your page will not >> validate. The spec calls for ID attributes on images. > > um... which spec? > > http://validator.w3.org/check?uri=http%3A%2F%2Froselli.org%2Fad > rian%2F I should clarify - in the HTML 4.0 spec NAME was not defined and ID was defined (and was specifically indicated as the attribute to be used by scripting systems to reference objects). Pages specifying the HTML 4.0 DTD will fail validation. For HTML 4.01 you are partially correct. The RFC states: > name = cdata [CI] > This attribute names the element so that it may be referred to from style > sheets or scripts. Note. This attribute has been included for backwards > compatibility. Applications should use the id attribute to identify elements. <http://www.w3.org/TR/1999/PR-html40-19990824/struct/objects.html#adef-name- IMG> The name attribute is on the way out. -- Rob Keniger big bang solutions <mailto:rob at bigbang.net.au>