HTML Entity for Uppercase M Script Capital (ℳ)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+2133

What You'll Learn

How to display the script capital M (ℳ) in HTML using named entity, hexadecimal, decimal, and CSS escape methods. This character is part of the Letterlike Symbols block and is widely used in mathematical notation, academic content, and script-style typography. Its official Unicode name is SCRIPT CAPITAL M (U+2133).

Render it with ℳ, ℳ, ℳ, or CSS escape \2133. The named entity ℳ is often the most readable option in HTML source. Do not confuse ℳ with plain M (U+004D).

⚡ Quick Reference — Uppercase M Script Capital Entity

Unicode U+2133

Letterlike Symbols

Hex Code ℳ

Hexadecimal reference

HTML Code ℳ

Decimal reference

Named Entity ℳ

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2133
Hex code       ℳ
HTML code      ℳ
Named entity   ℳ
CSS code       \2133
Meaning        Script capital M
Not the same   U+004D = M (plain uppercase)
Related        U+2130 = ℰ U+2131 = ℱ U+2112 = ℒ
Block          Letterlike Symbols (U+2100–U+214F)
1

Complete HTML Example

A simple example showing the script capital M (ℳ) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2133";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x2133;</p>
<p>Symbol (decimal): &#8499;</p>
<p>Symbol (named): &Mscr;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

The script capital M (ℳ) and the named entity &Mscr; are supported in modern browsers when UTF-8 is used:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See the script capital M (ℳ) in mathematical and typographic contexts:

Large glyph
Script letters
Math variableLet ℳ denote a script-style set or operator.
Not the same asplain M (U+004D)
Named entity&Mscr; renders as ℳ
Numeric refs&#x2133; &#8499; &Mscr; \2133

🧠 How It Works

1

Hexadecimal Code

&#x2133; uses the Unicode hexadecimal value 2133 to display the script capital M. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#8499; uses the decimal Unicode value 8499 to display the same character. A common method for Letterlike Symbols.

HTML markup
3

Named Entity

&Mscr; is the standard named entity for ℳ—readable in source HTML and part of the HTML5 entity set.

HTML markup
4

CSS Entity

\2133 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All four methods produce the glyph: . Unicode U+2133 sits in Letterlike Symbols. Do not confuse with plain M (U+004D).

Use Cases

The script capital M (ℳ) is commonly used in:

📐 Mathematical notation

Script-style variables, operators, and formal mathematical writing.

🎨 Typography

Elegant script lettering in calligraphy, invitations, and formal design projects.

📄 Academic papers

Scholarly documents and research papers using script letter notation.

🔬 Scientific documents

Technical publications where ℳ represents a script-style mathematical symbol.

📚 Education

Math courses and textbooks teaching script letter conventions and notation.

🌐 Web publishing

Scientific blogs and online textbooks that need proper script M rendering.

⚙ CSS content

Pseudo-elements and generated content using \2133 in stylesheets.

💡 Best Practices

Do

  • Use &Mscr; in HTML when possible for readability
  • Serve pages as UTF-8; you can also type ℳ directly in UTF-8 source
  • Use math-friendly fonts (e.g. Cambria Math, STIX) for reliable script glyph display
  • Distinguish ℳ (script M) from plain M (U+004D)
  • Pick one entity style (named, hex, or decimal) per project for consistency

Don’t

  • Substitute plain M when ℳ is required in math or script notation
  • Put CSS escape \2133 in HTML text nodes
  • Use padded Unicode notation like U+02133—the correct value is U+2133
  • Use \02133 in CSS—the correct escape is \2133
  • Assume every font includes Letterlike Symbols—test rendering across devices

Key Takeaways

1

Four references render ℳ; named entity is most readable

&#x2133; &#8499; &Mscr;
2

For CSS stylesheets, use the escape in the content property

\2133
3

Unicode U+2133 — SCRIPT CAPITAL M

4

Part of Letterlike Symbols—used in math, academic, and script typography

5

Previous: Uppercase M (M)   Next: Uppercase N (N)

❓ Frequently Asked Questions

Use &Mscr; (named), &#x2133; (hex), &#8499; (decimal), or \2133 in CSS content. The named entity &Mscr; is the most readable for HTML content.
U+2133 (SCRIPT CAPITAL M). Letterlike Symbols block. Hex 2133, decimal 8499. Used in mathematical notation and script-style typography.
In mathematical notation, academic content, script-style typography, scientific documents, formal writing, educational materials, and any content requiring script capital M rather than plain uppercase M.
HTML code (&#8499; or &#x2133;) or the named entity &Mscr; is used in HTML content. The CSS entity (\2133) is used in CSS, e.g. in the content property of pseudo-elements. Both produce ℳ but in different contexts.
Yes. ℳ (U+2133) is designed for mathematical and scholarly contexts. Ensure your font supports Letterlike Symbols and use it where script M notation is required—not as a substitute for plain M (U+004D).

Explore More HTML Entities!

Discover 1500+ HTML character references — script letters, math symbols, and more.

All HTML Entities →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful