HTML Entity for Lowercase Roman Numeral Two (ⅱ)

What You'll Learn
How to display the lowercase roman numeral two (ⅱ) in HTML using hex, decimal, and CSS entity methods. This character belongs to the Number Forms Unicode block and is useful for outlines, hierarchical numbering, lists, academic content, and typography.
ⅱ has no named HTML entity. You’ll typically use numeric references (ⅱ or ⅱ) or a CSS escape (\2171 in content).
⚡ Quick Reference — ⅱ Entity
U+2171Number Forms block
ⅱHexadecimal reference
ⅱDecimal reference
\2171Use in CSS content
Name Value
──────────── ──────────
Unicode U+2171
Hex code ⅱ
HTML code ⅱ
Named entity (none)
CSS code \2171Complete HTML Example
This example demonstrates the lowercase roman numeral two (ⅱ) using hexadecimal code, decimal HTML code, and a CSS content escape on a pseudo-element:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\2171";
}
</style>
</head>
<body>
<p>Lowercase Roman Two using Hexa Decimal: ⅱ</p>
<p>Lowercase Roman Two using HTML Code: ⅱ</p>
<p id="point">Lowercase Roman Two using CSS Entity: </p>
</body>
</html>🌐 Browser Support
The ⅱ character (Unicode U+2171) is supported in all modern browsers. If a font doesn’t include the Number Forms glyph, the browser may fall back to another font.
👀 Live Preview
See the lowercase roman numeral two rendered live in different contexts:
🧠 How It Works
Hexadecimal Code
ⅱ references Unicode 2171 in hexadecimal, producing the glyph ⅱ in your HTML.
Decimal HTML Code
ⅱ references the same Unicode code point using the decimal value 8561.
CSS Entity (Escape)
\2171 is used in CSS (most often in the content property) to generate ⅱ without adding extra HTML.
Same visual result
All methods produce ⅱ. The Unicode value is U+2171 in the Number Forms block. There is no named HTML entity for this character.
Use Cases
The lowercase roman numeral two (ⅱ) commonly appears in the following scenarios:
Hierarchical numbering in long documents, appendices, or structured notes.
Lowercase roman list markers or multi-level numbering schemes.
Front matter, appendices, citations, and styles that prefer roman numerals.
Captions or references like “Table ⅱ” when style requires roman numbering.
Design-focused headings and decorative numbering where ⅱ is desired.
Formal documents with established roman numeral conventions.
💡 Best Practices
Do
- Use
ⅱorⅱfor reliable HTML rendering - Use the CSS escape
\2171incontentfor decorative markers - Prefer semantic lists (
<ol>) when you’re presenting real list content - Keep the roman style consistent (lowercase vs uppercase) throughout a document
- Test fonts and fallback behavior on mobile devices
Don’t
- Assume every font includes all Number Forms glyphs
- Use the CSS escape
\2171directly in HTML text - Mix hex/decimal styles randomly in the same file
- Use roman numerals where the convention expects arabic numbers
- Rely on a single glyph without context when it conveys meaning
Key Takeaways
Two HTML numeric references render ⅱ
ⅱ ⅱFor CSS stylesheets, use the escape in the content property
\2171Unicode U+2171 belongs to the Number Forms block
There is no named HTML entity for this character
Use ⅱ for outlines, hierarchical numbering, lists, and typography
❓ Frequently Asked Questions
ⅱ (hex) or ⅱ (decimal) in HTML. For CSS, use \2171 in the content property. All methods render ⅱ.U+2171 (hex 2171, decimal 8561). It’s part of the Number Forms block.ⅱ or ⅱ) go directly in markup. The CSS escape \2171 is used in stylesheets (usually in content on ::before/::after). Same visual result, different layers of the stack.ⅱ or decimal ⅱ.Explore More HTML Entities!
Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, and more.
8 people found this page helpful
