HTML <embed> heightAttributes
Examples
A Flash animation with a height and width of 200 pixels:
<embed src="helloworld.swf.html" width="200" height="200">
Try it Yourself »
Browser Support
![]()
![]()
![]()
![]()
![]()
All major browsers support the height attribute.
Definition and Usage
The height attribute specifies the height of the embedded content, in pixels.
Differences Between HTML 4.01 and HTML5
The <embed> tag is a new tag in HTML5.
Syntax
<embed height="pixels">
Attribute Values
| Value | Description |
|---|---|
| pixels | Specifies the height of the embedded content, in pixels (for example height="100"). |
HTML <embed> Tag Other Extensions