HTML Entity for Uppercase M Script Capital (ℳ)

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
U+2133Letterlike Symbols
ℳHexadecimal reference
ℳDecimal reference
ℳMost readable option
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)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:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\2133";
}
</style>
</head>
<body>
<p>Symbol (hex): ℳ</p>
<p>Symbol (decimal): ℳ</p>
<p>Symbol (named): ℳ</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>🌐 Browser Support
The script capital M (ℳ) and the named entity ℳ are supported in modern browsers when UTF-8 is used:
👀 Live Preview
See the script capital M (ℳ) in mathematical and typographic contexts:
🧠 How It Works
Hexadecimal Code
ℳ uses the Unicode hexadecimal value 2133 to display the script capital M. The x prefix indicates hexadecimal format.
Decimal HTML Code
ℳ uses the decimal Unicode value 8499 to display the same character. A common method for Letterlike Symbols.
Named Entity
ℳ is the standard named entity for ℳ—readable in source HTML and part of the HTML5 entity set.
CSS Entity
\2133 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
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:
Script-style variables, operators, and formal mathematical writing.
Elegant script lettering in calligraphy, invitations, and formal design projects.
Scholarly documents and research papers using script letter notation.
Technical publications where ℳ represents a script-style mathematical symbol.
Math courses and textbooks teaching script letter conventions and notation.
Scientific blogs and online textbooks that need proper script M rendering.
Pseudo-elements and generated content using \2133 in stylesheets.
💡 Best Practices
Do
- Use
ℳ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
Mwhen ℳ is required in math or script notation - Put CSS escape
\2133in HTML text nodes - Use padded Unicode notation like U+02133—the correct value is
U+2133 - Use
\02133in CSS—the correct escape is\2133 - Assume every font includes Letterlike Symbols—test rendering across devices
Key Takeaways
Four references render ℳ; named entity is most readable
ℳ ℳ ℳFor CSS stylesheets, use the escape in the content property
\2133Unicode U+2133 — SCRIPT CAPITAL M
Part of Letterlike Symbols—used in math, academic, and script typography
Previous: Uppercase M (M) Next: Uppercase N (N)
❓ Frequently Asked Questions
ℳ (named), ℳ (hex), ℳ (decimal), or \2133 in CSS content. The named entity ℳ 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.ℳ or ℳ) or the named entity ℳ 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.M (U+004D).Explore More HTML Entities!
Discover 1500+ HTML character references — script letters, math symbols, and more.
8 people found this page helpful
