Easy Tutorial
❮ Html Keyboardshortcuts Tag Table ❯

HTML <object> data Attribute

HTML <object> Tag

Example

How to use the <object> element to embed a Flash file:


Browser Support

All major browsers support the data attribute.


Definition and Usage

The data attribute specifies the URL of the resource used by the object.


Differences Between HTML 4.01 and HTML5

None.


Syntax

Attribute Values

Value Description
URL Specifies the URL of the resource used by the object. Possible values: Absolute URL - points to data on another website (e.g., href="http://www.example.com/helloworld.swf")<br>Relative URL - points to data within the website (e.g., href="helloworld.swf")

❮ Html Keyboardshortcuts Tag Table ❯