English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Dieser Artikel beschreibt die HTML iframe height-Eigenschaft, die die Höhe des <iframe> in Pixeln festlegt, zeigt Online-Beispiele, wie man die HTML iframe height-Eigenschaft verwendet, die Kompatibilität des Browsers, die Syntaxdefinition und detaillierte Informationen zu seinen Eigenschaftswerten.
Set iframe width to 450 pixels, height280 pixels:
<iframe src="https://de.oldtoolbag.com/" width="450" height="280"></iframe>Test and see ‹/›
IEFirefoxOperaChromeSafari
All mainstream browsers support the height attribute.
The height attribute of <iframe> specifies the height in pixels.
In HTML 4.01In this syntax, the height can be defined in pixels or as a percentage of the containing element. In HTML5In this value, it must be specified in pixels.
<iframe height="pixels">
Value | Description |
---|---|
pixels | The height of the inline frame in pixels (for example "100px |