Skip to content
Related Articles

Related Articles

HTML5 MathML depth Attribute

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

This attribute is used to set the depth or increase/decrease the depth of the content. This attribute is accepted by <mpadded> tag only.


<element depth="length">

Attribute Values:

  • length: This attribute sets or increments the depth.

Below example illustrate the depth attribute in HTML5 MathML:



<!DOCTYPE html> 
    <title>HTML5 MathML depth attribute</title
<body style="text-align:center;"
    <h1 style="color:green"
    <h3>HTML5 MathML depth attribute</h3
        <mpadded depth="20"


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

  • Firefox

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!