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 (e.g., href="http://www.example.com/hello.swf")
  • Relative URL - Points to a file within a website (e.g., href="hello.swf")

Browser Support

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