Attributo HTML <iframe> altezza

❮ Tag HTML <iframe>

Esempio

Un <iframe> con un'altezza e una larghezza specificate di 200 pixel:

<iframe src="/default.asp" width="200" height="200">
</iframe>

Definizione e utilizzo

L' heightattributo specifica l'altezza di un <iframe>, in pixel.

L'altezza predefinita è 150 pixel.


Supporto del browser

Attribute
height Yes Yes Yes Yes Yes

Sintassi

<iframe height="pixels">

Valori di attributo

Value Description
pixels The height of the inline frame in pixels (e.g. height="100")

❮ Tag HTML <iframe>