Open In App

HTML | <embed> type Attribute

 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: 

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:

Article Tags :