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:
- src: It is used to hold the URL. It is used to specify the web address of the embedded content.
- An absolute URL: It points to another webpage.
- A relative URL: it points to a file within a website.
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> |
chevron_right
filter_none
Output :

Supported Browsers: The browser supported by HTML embed src Attribute are listed below:
- Google Chrome
- Internet Explorer
- Firefox
- Apple Safari
- Opera
Recommended Posts:
- HTML | rel attribute
- HTML | max attribute
- HTML | <li> value Attribute
- HTML | low Attribute
- HTML src attribute
- HTML | dir Attribute
- HTML | <img> src Attribute
- HTML | <img> alt Attribute
- HTML | for Attribute
- HTML | <map> name Attribute
- HTML | alt attribute
- HTML | min Attribute
- HTML | <a> rel Attribute
- HTML | name Attribute
- HTML | value Attribute
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



