Open In App

HTML5 | MathML <ms> Tag

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.

Syntax:



<ms lquotes="„" rquote="“"> String Expression </ms>

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

Below example will illustrates the concept of HTML5 MathML <ms> tag:



Example:




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

Output:

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

Article Tags :