VOOZH about

URL: https://www.geeksforgeeks.org/html/html5-mathml-height-attribute/

⇱ HTML5 MathML height Attribute - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML5 MathML height Attribute

Last Updated : 23 Jul, 2025

This attribute holds the height value length i.e. desired depth above the baseline. This attribute is accepted by three tags <mglyph>, <mpadded>, and <mspace>.

Syntax:

<element height="length">

Attribute Values:

  • length: This attribute sets or increments the depth.

Below example illustrate the height attribute in HTML5 MathML:

Example:

Output:

👁 Image

Supported Browsers: The browsers supported by HTML5 MathML height attribute are listed below:

  • Firefox
Comment
Article Tags: