HTML <embed> height attribute
Definition and Usage
height
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 |