HTML <embed> src attribute

Definition and usage

src The attribute specifies the address of the external file to be embedded.

Example

Embedded image:

<embed src="tulip.jpg">

Try it yourself

Syntax

<embed src="URL">

Attribute value

Value Description
URL

Specifies the address of the external file to be embedded.

Possible values:

  • Absolute URL - points to another website (such as href="http://www.example.com/hello.swf")
  • Relative URL - points to a file within the website (such as href="hello.swf")

Browser support

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Support Support Support Support Support