<ms>

The <ms> MathML element represents a string literal meant to be interpreted by programming languages and computer algebra systems.

Attributes

This element's attributes include the global MathML attributes.

Some browsers may also support the following deprecated attributes and will render the content of the <ms> element surrounded by the specified opening and closing quotes:

lquote

The opening quote to enclose the content. The default value is &quot;.

rquote

The closing quote to enclose the content. The default value is &quot;.

Examples

Default rendering

html

<math display="block">
  <ms>Hello World!</ms>
</math>

Legacy quote attributes

html

<math display="block">
  <ms lquote="" rquote="'">abc</ms>
</math>

Specifications

Specification
MathML Core
# string-literal-ms

Browser compatibility

BCD tables only load in the browser