HTML Tutorial
<object>The <object> tag embeds external resources (e.g., images, videos, applets) into an HTML document. It provides a generic container for handling various types of content.
<object><object><object data="image.png" type="image/png"></object><object data="video.mp4" type="video/mp4"></object><object data="myApplet.jar" type="application/x-java-applet"></object>Exploring the <object> Tag:
HTML Code:
<!DOCTYPE html>
<html>
<body>
<object data="image.png" type="image/png" width="200" height="100">
<p>This is an image.</p>
</object>
</body>
</html>
An image is displayed within the web page. If the image fails to load, the "This is an image" text will appear instead.