HTML <video> height Attribute
Example
<video width="340" height="260" controls>
<source src="video.mp4" type="video/mp4">
<source src="video.webm" type="video/webm">
Your browser does not support the video tag.
</video>
Meaning
The height attribute specifies the video display area, in CSS pixels.
Standard Syntax
<video height="pixels">...</video>
Advertisement
Attribute Values
| Value | Description |
|---|---|
| pixels | Specifies height of the video. (ex: height="100") |