HTML <embed> width Atribut
Příklad
Obrázek o výšce a šířce 200 pixelů:
<embed src="pic_trulli.jpg" width="200" height="200">
Definice a použití
Atribut width
určuje šířku vloženého obsahu v pixelech.
Tip: Pomocí height
atributu určete výšku vloženého obsahu.
Podpora prohlížeče
Attribute | |||||
---|---|---|---|---|---|
width | Yes | Yes | Yes | Yes | Yes |
Syntax
<embed width="pixels">
Hodnoty atributů
Value | Description |
---|---|
pixels | The width of the embedded content, in pixels (i.e. width="100") |
❮ HTML tag <embed>