1. Web
  2. MathML
  3. Reference
  4. Elements
  5. <ms>

<ms>

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨January 2023⁩.

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

Implicit ARIA role None

Specifications

Specification
MathML Core
# string-literal-ms

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /