<object> Tag in HTML

In this article i am going to explain about object tag in HTML
  • 1550

Definition

<object> tag is used to insert the object like audio, video, PDF  in the web page. you must close this tag by </object>. .

Supporting Browsers

Internet Explorer, Mozilla Firefox, Google Chrome, Safari and Opera are the supporting browsers.

Example
 

<html>
<head>
    <title></title>
</head>
<body>
    <object height="300px" data="file://localhost/C:/Users/Public/Pictures/Sample%20Pictures/Desert.jpg">
    </object>
</body>
</html>

  Output

object3.jpg

Further Readings

You may also want to read these related articles

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2020 DotNetHeaven. All rights reserved.