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





Category :
Web Tutorial
Sub Category :
HTML Plug-ins
Uploaded by :
Admin


Read Article
https://horje.com/learn/1434/reference