The height attribute on an <embed> tag sets the height of the embed element.
The height is specified in pixels - without the ‘px‘ unit.
An <embed> element with a height attribute.
<embed src="/img/html/vangogh-bedroom.jpg"
height="280">
The height attribute specifies the height of the embedded content.
The height is specified in pixels -- without the 'px' unit.
<embed src="URL" height="pixels">
Value | Description |
---|---|
pixels | Height of the embedded content in pixels. |
Note: The height attribute requires that src has a value.
Here is when height support started for each browser:
Chrome
|
1.0 | Sep 2008 |
Firefox
|
1.0 | Sep 2002 |
IE/Edge
|
1.0 | Aug 1995 |
Opera
|
1.0 | Jan 2006 |
Safari
|
1.0 | Jan 2003 |