HTML <iframe> wysokość Atrybut
Przykład
<iframe> o określonej wysokości i szerokości 200 pikseli:
<iframe src="/default.asp" width="200" height="200">
</iframe>
Definicja i użycie
height
Atrybut określa wysokość
<iframe>
, w pikselach .
Domyślna wysokość to 150 pikseli.
Obsługa przeglądarki
Attribute | |||||
---|---|---|---|---|---|
height | Yes | Yes | Yes | Yes | Yes |
Składnia
<iframe height="pixels">
Wartości atrybutów
Value | Description |
---|---|
pixels | The height of the inline frame in pixels (e.g. height="100") |
❮ Tag HTML <iframe>