HTML <object> name Attribute
Example
<object name="obj1" data="img-boy.jpg" width="300" height="150"></object>
Meaning
The name attribute defines the name of the control so that scripting can access it.
Note: The id attribute should be used if possible.
Standard Syntax
<object name="text">...</object>
Advertisement
Attribute Values
| Value | Description |
|---|---|
| text | (string) Gives the name of the input element. |