<ms>

Baseline 2023
Newly available

Since January 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

We’d love to hear your thoughts on the next set of proposals for the JavaScript language. You can find a description of the proposals here.
Please take two minutes to fill out our short survey.

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.

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>

Technical summary

Specifications

Specification
MathML Core
# string-literal-ms

Browser compatibility