ID="..." (HTML Tag Attribute)

MSIE document objects can be referenced conveniently with an ID name if it is added with this tag attribute.

Many objects are identified in the DOM hierarchy of the web browser by means of their id property. This value is defined as an HTML tag attribute.

Some objects can be accessed using a <NAME="..."> HTML tag attribute instead of or as well as the ID="..." HTML tag attribute.

Netscape 4.0 supports ID access but only apparently for visible elements. Version 6.0 is much more consistent now that it supports the DOM standard properly.

See also:Document.ids[], Document.layers[], Document.scripts[], Element.id, NAME="..."