HTML <embed> height attribute
Definition and usage
height
The attribute specifies the height of the embedded content in pixels.
Tip:Use width attribute Specifies the width of the embedded content.
Example
An image with a height and width of 200 pixels:
<embed src="tulip.jpg" width="150" height="150">
Syntax
<embed height="pixels">
Attribute value
Value | Description |
---|---|
pixels | Height of embedded content, in pixels (for example, height="100"). |
Browser support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |