HTML and embed and src properties

HTML embed src property HTML slt;embed and tags

The src property defines the address source of the multimedia plug-in embedded in the tab, using the following example:

An embedded flash animation:

<embed src="helloworld.swf">

Try it out . . .

Browser support

HTML embed src property HTML embed src property HTML embed src property HTML embed src property HTML embed src property

Src properties are supported by all major browsers.


Definitions and usages

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


The difference between HTML 4.01 and HTML5

The label is the new label in HTML5.


Grammar

<embed src="URL">

The property value

value describe
URL Specifies the address of the external file to be embedded.

Possible value:

  • Absolute URL - pointing to another website (such as href = "http://www.example.com/hello.swf" Rel = "External Nofollow" target = "_ blank")
  • Relative URL - pointing to a file within the website (such as href = "hello.swf")


HTML embed src property HTML slt;embed and tags