July 1998
Intermediate to advanced
1456 pages
65h 5m
English
ID — NN n/a IE 4 HTML 4
ID=”elementIdentifier"Optional
A unique identifier that distinguishes this element from all the rest
in the document. Can be used to associate a single element with a
style rule naming this attribute value as an ID selector. Do not
confuse the ID attribute with the
NAME attribute, whose value is submitted as part
of a name/value pair with the form.
All.
<INPUT TYPE="button" ID="next" VALUE=">>Next>>" onClick="goNext(3)">
Case-sensitive identifier.
None.
[window.]document.formName.inputName.id
[window.]document.forms[i].elements[i].id
[window.]document.all.elementID.id
Read now
Unlock full access