The MathML <ms> tag in HTML5 is used to represent string that will represent the mathematical expression by programming languages and computer algebra systems. By default, the string expression enclosed by quotes. Left side of the expression enclosed by lquotes and right side of the expression enclosed by the rquotes. Element of the <ms> tag are not the ASCII character they are sequence character of the <mglyph> and <malignmark> tag.
<ms lquotes="„" rquote="“"> String Expression </ms>
Attributes: This tag accepts some attributes which are listed below:
- class|id|style: This attribute holds the styles of the child elements.
- dir: This attribute holds the direction two types of direction values is acceptable ltr left to right and rtl right to left.
- href: This attribute holds any hyperlink to a specified URL.
- mathbackground: This attribute holds the value of the math expressions background color.
- mathcolor: This attribute holds the color of the math expressions.
- mathsize: This attribute holds the value of the size for the content. The possible values are small, medium and big.
- mathvariant: This attribute holds variety of typography like font-family.
- lquote: This attributes holds the opening quote that depends on the dir attribute and the default value is the ".
Below example will illustrates the concept of HTML5 MathML <ms> tag:
Supported Browsers: The browsers are supported by HTML5 MathML <ms> tag are listed below:
- HTML5 | MathML <mth> Tag
- HTML5 | MathML <mtr> Tag
- HTML5 | MathML <mi> Tag
- HTML5 | MathML <mtd> Tag
- HTML5 | MathML <mo> Tag
- HTML5 | MathML <mn> Tag
- HTML5 | MathML <mrow> Tag
- HTML5 | MathML <mphantom> Tag
- HTML5 | MathML <msup> Tag
- HTML5 | MathML <mmultiscripts> Tag
- HTML5 | MathML <mroot> Tag
- HTML5 | MathML <mlabeledtr> tag
- HTML5 | MathML <maction> tag
- HTML5 | MathML <mglyph> Tag
- HTML5 | MathML <mfrac> tag
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.