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

HTML Reference Manual

HTML Tag Comprehensive List

HTML: <embed> height Attribute

The height attribute specifies the height of the embedded content in pixels. Tip: You can specify the width of the embedded content using the width attribute.

 HTML <embed> tag

Online Example

A height and width of 200 pixel flash animation:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HTML <embed> height Attribute Usage-Basic Tutorial(oldtoolbag.com)</title>/<title>
</<head>
<body>
<embed src="helloworld.swf" width="200" height="200" style="border:1px solid">
</body>
</html>
Test to 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.
Tip: Use the width attribute to specify the width of the embedded content

HTML 4.01 between HTML5differences

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

Syntax

<embed height="pixels">

Attribute Value

ValueDescription
pixelsSpecifies the height of the embedded content in pixels (for example, height="100").
 HTML <embed> tag