HTML
Example
with the specified height and width of 200 pixels
Try it »
Browser support





All major browsers support the height property.
Definition and Usage
The height attribute specifies the
Differences Between HTML 4.01 and HTML5
In HTML 4.01, the height should be defined in pixels or as a percentage of the containing element. In HTML5, the height value must be in pixels.
HTML