Join MDN and developers like you at Mozilla's View Source conference, November 2-4 in Portland, Oregon. Learn more at


Type: string (representing an integer)
The preferred height of the element in pixels. The actual displayed height may be different if the element or its contents have a minimum or maximum height. The CSS height property may also be used.

Document Tags and Contributors

Contributors to this page: Sheppy, Marsf, Mgjbot, Enn, Jez, Ptak82, Ramaboule, Dria
Last updated by: Sheppy,