Name

NAME — NN n/a IE n/a HTML 4

Synopsis

NAME=”elementIdentifier"

Optional

The HTML 4.0 specification provides for a NAME attribute of the OBJECT element for instances in which the object is part of a form that is submitted to the server. The NAME attribute in this case performs the same function as the NAME attribute of an INPUT element; it acts as a label for some data being submitted. The code that is loaded into the OBJECT element must be programmed to return a value if it is to be submitted via an HTML form.

Example

<OBJECT NAME="embedded" CLASSID="clsid:83A38BF0-B33A-A4FF-C619A82E891D"
HEIGHT=150 WIDTH=250>
</OBJECT>

Value

Case-sensitive identifier.

Default

None.

Object Model Reference

IE

[window.]document.all.elementID.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.