Open In App

HTML5 MathML height Attribute

Last Updated : 23 Jul, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

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:

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

  • Firefox

Explore