Skip to content
Related Articles

Related Articles

HTML5 MathML height Attribute

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 20 Nov, 2020

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>.


<element height="length">

Attribute Values:

  • length: This attribute sets or increments the depth.

Below example illustrate the height attribute in HTML5 MathML:



<!DOCTYPE html> 
    <title>HTML5 MathML height attribute</title
<body style="text-align:center;"
    <h1 style="color:green"
    <h3>HTML5 MathML height attribute</h3
        <mpadded height="+150px" width="200px"


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

  • Firefox

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!