Skip to content
Related Articles

Related Articles

How to define an embedded object in HTML5 ?

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 21 Jun, 2020

In this article, you will learn how to define an embedded object by using the <object> element in the document. It is used to display multimedia objects like audios, videos, images, PDFs, and Flash in web pages. The element is also used for displaying any other webpage on an HTML page. This tag supports all the global and event attributes of HTML.


<object> ... </object>


<!DOCTYPE html>
        How to define an embedded 
        object in HTML5?
        body {
            text-align: center;
        h1 {
            color: green;
        HTML5: How to define 
        a embedded object?
    <object data=


Supported browsers are listed below: 

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera
  • Safari

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!