Name
ID — NN 4 IE n/a HTML n/a
Synopsis
ID=”elementIdentifier"
Optional
A unique identifier that distinguishes this element from all the rest
in the document. This is the identifier used as values for the
ABOVE
and BELOW
attributes.
Scripts also use the ID
attribute value as the
LAYER
element’s name for object references.
Example
<LAYER ID="oldYeller" BGCOLOR="yellow" SRC="instrux.html" WIDTH=200 HEIGHT=300> </LAYER>
Value
Case-sensitive identifier.
Default
None.
Object Model Reference
- IE
[window.]document.layerName.name
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.