<object> Tag in HTML 5

In this article I am going to tell about <object> Tag in HTML 5.
  • 1915

Definition

<object> Tag is used for embedding an object within HTML document. It is used to embed multimedia in your web pages. <object> element must appear inside the <body> element.

Supporting Browsers

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

Example
 

<html>
<head></head>
       <body>

           <object width="400" height="400" data="/d:\utkarsh\video.jpg"></object>
        </body>
</html>

Output

object.JPG

You may read more about HTML 5 Tags here

Ask Your Question 

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

Programming Answers here

© 2020 DotNetHeaven. All rights reserved.