English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
This article introduces the HTML embed src attribute, which specifies the address of the external file to be embedded. Online examples demonstrate how to use the HTML embed src attribute, browser compatibility, syntax definition, and detailed information about its attribute values.
An embedded flash animation:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>HTML <embed> src Attribute Usage-Basic Tutorial(oldtoolbag.com)</title> </head> <body> <embed src="helloworld.swf"> </body> </html>Test it out ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the src attribute.
The src attribute specifies the location of the external file to be embedded.
The <embed> tag is an HTML5 new tag in
<embed src="URL">
Value | Description |
---|---|
URL | Specifies the location of the external file to be embedded. Possible values:
|