HTML <object> data Atribut
Příklad
Jak použít prvek <object> k vložení obrázku:
<object data="pic_trulli.jpg" width="300" height="200"</object>
Definice a použití
Atribut data
určuje adresu URL zdroje, který má objekt použít.
Podpora prohlížeče
Attribute | |||||
---|---|---|---|---|---|
data | Yes | Yes | Yes | Yes | Yes |
Syntax
<object data="URL">
Hodnoty atributů
Value | Description |
---|---|
URL | Specifies the URL of the resource to be used by the object. Possible values:
|
❮ HTML tag <object>