Horje

What is HTML <object> name Attribute

The HTML <object> name Attribute is used to specify the name of the embedded file. This attribute is also used as a reference for an object element in the Javascript.

Definition and Usage

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

The name attribute is used for referencing an <object> element in JavaScript (an alternative, is to reference it by using its id attribute).


Browser Support

Syntax

<object name="name">

Attribute Values

Value Description
name The name of the <object> element




Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin