HTML <embed> Atribut src

❮ HTML tag <embed>

Příklad

Vložený obrázek:

<embed src="pic_trulli.jpg">

Definice a použití

Atribut srcurčuje adresu externího souboru, který se má vložit.


Podpora prohlížeče

Attribute
src Yes Yes Yes Yes Yes

Syntax

<embed src="URL">

Hodnoty atributů

Value Description
URL Specifies the address of the external file to embed.

Possible values:

  • An absolute URL - points to another web site (like href="http://www.example.com/hello.swf")
  • A relative URL - points to a file within a web site (like href="hello.swf")

❮ HTML tag <embed>