FANDOM


The height attribute controls the vertical dimension of the box model, or how high it looks on the screen.

If Omitted: The height of the box defaults to a value of -1 and the box height is then automatically determined.

JavaScript:

myObjectName.height = 30;

Example:

<height>30</height>

or

<height = "30" />