Horje
How to set HTML <object> Element

The <object> element is supported by all browsers.

The <object> element defines an embedded object within an HTML document.

It was designed to embed plug-ins (like Java applets, PDF readers, and Flash Players) in web pages, but can also be used to include HTML in HTML:


Example of HTML <object> Element

It was designed to embed plug-ins (like Java applets, PDF readers, and Flash Players) in web pages, but can also be used to include HTML in HTML:
index.html
Example: HTML
 <object width="100%" height="500px" data="snippet.html"></object> 

Full Example of HTML <object> Element

It was designed to embed plug-ins (like Java applets, PDF readers, and Flash Players) in web pages, but can also be used to include HTML in HTML:
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<object width="100%" height="500px" data="snippet.html"></object>
 
</body>
</html>

Output should be:

Full Example of HTML <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 HTML <object> ElementHTML Plug-ins
Full Example of HTML <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:
59


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

Share on: