Horje

How to add HTML <object> name Attribute

An <object> element with a name attribute.

index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>The object name attribute</h1>

<object data="https://horje.com/avatar.png" name="obj1" width="300" height="200">
</object>
 
</body>
</html>

Output should be:

How to add HTML <object> name Attribute




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