HTML CSS examples for HTML Tag:object
You can use the object element to embed one HTML document inside of another, like the iframe element.
If you apply the name attribute, you create a browsing context you can use with the target attribute of elements, such as <a> element and form element.
Creating a Browsing Context with the object Element
<!DOCTYPE html> <html> <head> <title>Example</title> </head> <body> <header> <h1>Things I like</h1> <nav> <ul> <li> <a href="items.html" target="frame">items I Like</a> </li> <li> <a href="activities.html" target="frame">Activities I Like</a> </li> </ul> </nav> </header> <object type="text/html" name="frame" width="300" height="100"> </object> </body><!--from w w w .j a va 2 s . com--> </html>