HTML <object> width Atribut
Příklad
Vložený obrázek o výšce 300 pixelů a šířce 200 pixelů:
<object data="pic_trulli.jpg" width="200" height="300"></object>
Definice a použití
Atribut width
určuje šířku objektu v pixelech.
Podpora prohlížeče
Attribute | |||||
---|---|---|---|---|---|
width | Yes | Yes | Yes | Yes | Yes |
Syntax
<object width="pixels">
Hodnoty atributů
Value | Description |
---|---|
pixels | The width of the object, in pixels (i.e. width="100") |
❮ HTML tag <object>