HTML-<iframe > -Höhenattribut
Beispiel
Ein <iframe> mit einer angegebenen Höhe und Breite von 200 Pixel:
<iframe src="/default.asp" width="200" height="200">
</iframe>
Definition und Verwendung
Das height
Attribut gibt die Höhe eines
<iframe>
in Pixel an.
Die Standardhöhe beträgt 150 Pixel.
Browser-Unterstützung
Attribute | |||||
---|---|---|---|---|---|
height | Yes | Yes | Yes | Yes | Yes |
Syntax
<iframe height="pixels">
Attributwerte
Value | Description |
---|---|
pixels | The height of the inline frame in pixels (e.g. height="100") |
❮ HTML <iframe>-Tag