Skip to content
Related Articles

Related Articles

Improve Article

HTML | <embed> type Attribute

  • Last Updated : 12 Sep, 2019

The HTML embed type Attribute contains the media_type content. It is used to specify the media type of the embedded content.

Syntax:

<embed type="media_type">

Attribute Values:

  • media_type: It contains the media_type content. It is used to specify the media type of the embedded content.

Example:




<!DOCTYPE html>
<html>
  
<head>
    <title>HTML embed type Attribute</title>
    <style>
        q {
            color: #00cc00;
            font-style: italic;
        }
    </style>
</head>
  
<body>
    <h1>GeeksforGeeks</h1>
    <h2>HTML embed type Attribute</h2>
    <br>
    <embed src="loading2.swf" 
           type="application/x-shockwave-flash">
</body>
  
</html>

Output

Supported Browsers: The browser supported by HTML embed type Attribute are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :