English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML object height Eigenschaft

Die object height-Eigenschaft des HTML-Objekts gibt die Höhe in Pixel an.

 HTML <object> Tag

Online-Beispiel

Höhe 500 Pixel und Breite 300 pixel flash animation:

!DOCTYPE html
<html>
<head>
<title>HTML:<object> height Attribute - Basic Tutorial Website(oldtoolbag.com)<//title>
</head>
<body>
<object data="helloworld.swf" width="500" height="300"></object>
</body>
</html>
Test it out ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

All major browsers support the height attribute.

Definition and Usage

The height attribute specifies the height of the object in pixels.

HTML 4.01 With HTML5Differences

None.

Syntax

<object height="pixels">

Attribute Value

ValueDescription
pixelsObject height in pixels (e.g. height="100")。
 HTML <object> Tag