Easy Tutorial
❮ Att Script Src Att A Rev ❯

HTML <object> name Attribute

HTML <object> Tag

Example

An <object> element with the name attribute:


Browser Support

All major browsers support the name attribute.


Definition and Usage

The name attribute specifies the name of the <object> element.

The name attribute is used to reference the <object> element in JavaScript (an alternative method is to use the id attribute to reference it).


Differences Between HTML 4.01 and HTML5

None.


Syntax

Attribute Values

Value Description
name The name of the <object> element.

❮ Att Script Src Att A Rev ❯