English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
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.
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 ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the height attribute.
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
The <embed> tag is an HTML5 of the new tag in.
<embed height="pixels">
Value | Description |
---|---|
pixels | Specifies the height of the embedded content in pixels (for example, height="100"). |