HTML5 MathML mathbackground Attribute
This attribute holds the value of the math expressions background color. This attribute is accepted by all the MathML tags.
Syntax:
<element mathbackground="Colorname">
Attribute Values:
- Colorname: This value defines the color you want.
Below example illustrate the mathbackground in HTML5 MathML:
Example:
<!DOCTYPE html> < html > < head > < title >HTML5 MathML mathbackground Attribute</ title > </ head > < body style = "text-align:center;" > < h1 style = "color:green" >w3wiki</ h1 > < h3 >HTML5 MathML mathbackground Attribute</ h3 > < math > < ms lquote = "„" rquote = " “" mathcolor = "Yellow" mathbackground = "Purple" > A Computer Science Portal for Beginner </ ms > </ math > </ body > </ html > |
Output:
Supported Browsers: The browsers supported by HTML5 MathML mathbackground attribute are listed below:
- Firefox