Horje
How to add image in Object Element

You can view your image by using object Element.


Example of Adding Image in Object Element

Follow the Example
index.html
Example: HTML
<object data="https://horje.com/avatar.png"></object>

Output should be:

Example of Adding Image in Object Element

Full Example of Adding Image in Object Element

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

<object data="https://horje.com/avatar.png"></object>
 
</body>
</html>

Output should be:

Full Example of Adding Image in Object Element





Related Articles
What is HTML Plug-ins HTML Plug-ins
How to set HTML <object> Element HTML Plug-ins
How to add image in Object Element HTML Plug-ins
How to add HTML Image in <embed> Element HTML Plug-ins
How to add html page in <embed> element HTML Plug-ins

Single Articles
Example of Adding Image in Object ElementHTML Plug-ins
Full Example of Adding Image in Object ElementHTML Plug-ins

Read Full:
HTML Plug-ins
Category:
Web Tutorial
Sub Category:
HTML Plug-ins
Uploaded:
1 year ago
Uploaded by:
Admin
Views:
53


Reffered: https://www.w3schools.com/html/html_object.asp

Share on: