Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

HTML5 | MathML <mspace> Tag

  • Last Updated : 08 Nov, 2019

The MathML <mspace> tag in HTML5 is used to print blank space. The size of the blank space has to be mentioned in the attributes.


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

<mspace attributes="value"/>

Attributes: This tag accepts some attributes which are listed below:

  • class|id|style: This attribute holds the styles of the child elements.
  • mathbackground: This attribute holds the value of the math expressions background color.
  • depth: This attribute holds the depth value length i.e. desired depth below the baseline.
  • width: This attribute holds the width value length.
  • height: This attribute holds the height value length i.e. desired depth above the baseline.
  • linebreak: This attribute defines the linebreak inside of a line. Possible values are auto, newline, nobreak, goodbreak, and badbreak.

Below example illustrates the MathML <mspace> tag in HTML5:


<!DOCTYPE html>
    <title>HTML5 MathML mfenched tag</title>
        <h1 style="color:green"
        <h3>HTML5 MathML <mspace> tag</h3>
            <mfenced open="(" close=")" separators="">
                    <mspace depth="20px" height="40px" />


Supported Browsers: The browsers supported by HTML5 MathML <mspace> tag are listed below:

  • Firefox

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!