Articles → HTML → Object Tag In HTML

Object Tag In HTML






Purpose





Syntax


<object width="" height="" data=""></object>





Example


<!DOCTYPE html>
<html lang="en"
      xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>
    <object data="http://gyansangrah.com/Images/ADSanskriti.gif"></object>
</body>
</html>

Try It


Output


Picture showing the output of object tag in html
Click to Enlarge


Browser Support


Internet ExplorerFirefoxChromeSafariOperaEdge
YesYesYesYesYesYes



Posted By  -  Karan Gupta
 
Posted On  -  Saturday, September 19, 2020

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250