Open In App

HTML | <embed> src Attribute

The HTML <embed> src Attribute is used to specify the web address of the embedded content. 

Syntax: 



<embed src="URL">

Attribute Values: 

Example: 






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

Output :

  

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

Article Tags :