Skip to content
Related Articles

Related Articles

Improve Article

HTML5 MathML depth Attribute

  • 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

Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :