HTML Entity for Uppercase Roman Numeral Two (Ⅱ)

What You'll Learn
How to display the uppercase 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 (\2161 in content).
⚡ Quick Reference — Ⅱ Entity
U+2161Number Forms block
ⅡHexadecimal reference
ⅡDecimal reference
\2161Use in CSS content
Name Value
──────────── ──────────
Unicode U+2161
Hex code Ⅱ
HTML code Ⅱ
Named entity (none)
CSS code \2161Complete HTML Example
This example demonstrates the uppercase 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: "\2161";
}
</style>
</head>
<body>
<p>Uppercase Roman Two using Hexa Decimal: Ⅱ</p>
<p>Uppercase Roman Two using HTML Code: Ⅱ</p>
<p id="point">Uppercase Roman Two using CSS Entity: </p>
</body>
</html>🌐 Browser Support
The Ⅱ character (Unicode U+2161) 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 uppercase roman numeral two rendered live in different contexts:
🧠 How It Works
Hexadecimal Code
Ⅱ references Unicode 2161 in hexadecimal, producing the glyph Ⅱ in your HTML.
Decimal HTML Code
Ⅱ references the same Unicode code point using the decimal value 8545.
CSS Entity (Escape)
\2161 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+2161 in the Number Forms block. There is no named HTML entity for this character.
Use Cases
The uppercase roman numeral two (Ⅱ) commonly appears in the following scenarios:
Primary numbering in structured documents and outlines.
Uppercase roman list markers for main sections or chapters.
Chapter numbering, appendices, and citation conventions using roman numerals.
Captions or references like “Figure Ⅱ” when style requires roman numbering.
Design-forward headings and decorative numbering with roman styling.
Formal documents that use roman numerals for primary sections.
💡 Best Practices
Do
- Use
ⅡorⅡfor reliable HTML rendering - Use the CSS escape
\2161incontentfor decorative markers - Prefer semantic lists (
<ol>) when you’re presenting real list content - Keep the roman style consistent (uppercase vs lowercase) 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
\2161directly in HTML text - Mix hex/decimal styles randomly in the same file
- Use uppercase roman numerals where convention expects lowercase (or vice versa)
- 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
\2161Unicode U+2161 belongs to the Number Forms block
There is no named HTML entity for this character
Use Ⅱ for primary chapter/section numbering, lists, and typography
❓ Frequently Asked Questions
Ⅱ (hex) or Ⅱ (decimal) in HTML. For CSS, use \2161 in the content property. All methods render Ⅱ.U+2161 (hex 2161, decimal 8545). It’s part of the Number Forms block.Ⅱ or Ⅱ) go directly in markup. The CSS escape \2161 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
