HTML <iframe> height Atribut
Příklad
<iframe> se zadanou výškou a šířkou 200 pixelů:
<iframe src="/default.asp" width="200" height="200">
</iframe>
Definice a použití
Atribut height
určuje výšku
<iframe>
, v pixelech.
Výchozí výška je 150 pixelů.
Podpora prohlížeče
Attribute | |||||
---|---|---|---|---|---|
height | Yes | Yes | Yes | Yes | Yes |
Syntax
<iframe height="pixels">
Hodnoty atributů
Value | Description |
---|---|
pixels | The height of the inline frame in pixels (e.g. height="100") |
❮ HTML tag <iframe>