Skip to content
Related Articles

Related Articles

Improve Article
HTML5 MathML mathbackground Attribute
  • Last Updated : 20 Nov, 2020

This attribute holds the value of the math expressions background color. This attribute is accepted by all the MathML tags.


<element mathbackground="Colorname">

Attribute Values:

  • Colorname: This value defines the color you want.

Below example illustrate the mathbackground in HTML5 MathML:


<!DOCTYPE html> 
    <title>HTML5 MathML mathbackground Attribute</title
<body style="text-align:center;"
    <h1 style="color:green">GeeksforGeeks</h1
    <h3>HTML5 MathML mathbackground Attribute</h3
        <ms lquote="„" rquote=" “" mathcolor="Yellow"
            A Computer Science Portal for Geeks


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

  • Firefox
My Personal Notes arrow_drop_up
Recommended Articles
Page :