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

HTML Referenzhandbuch

HTML-Tag-Übersicht

HTML: <embed> height Eigenschaft

Die height-Eigenschaft gibt die Höhe des eingebetteten Inhalts in Pixel an. Hinweis: Mit der width-Eigenschaft kann die Breite des eingebetteten Inhalts angegeben werden.

 HTML <embed> Tag

Online-Beispiel

Eine Höhe und Breite von 200-Pixel-Flash-Animation:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HTML <embed> height Eigenschaft verwenden-Basic Tutorial(oldtoolbag.com)</title>
</head>
<body>
<embed src="helloworld.swf" width="200" height="200" style="border:1px solid">
</body>
</html>
Test see ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

All major browsers support the height attribute.

Definition and Usage

The height attribute specifies the height of the embedded content in pixels.
Hint: Use the width attribute to specify the width of the embedded content

HTML 4.01 and HTML5differences between

The <embed> tag is an HTML5 of the new tags in.

Syntax

<embed height="pixels">

Attribute Value

ValueDescription
pixelsDefine the height of the embedded content in pixels (for example height="100")。
 HTML <embed> Tag