HTML Entity for Roman Numeral Four (Ⅳ)

What You'll Learn
How to display the Roman numeral four (Ⅳ) in HTML using hex, decimal, and CSS entity methods. This character lives in the Number Forms Unicode block and is commonly used for outlines, headings, academic references, historical numbering, and clock-style numbering.
Ⅳ has no named HTML entity, so you’ll use numeric references (Ⅳ or Ⅳ) or a CSS escape (\2163 in content).
⚡ Quick Reference — Ⅳ Entity
U+2163Number Forms block
ⅣHexadecimal reference
ⅣDecimal reference
\2163Use in CSS content
Name Value
──────────── ──────────
Unicode U+2163
Hex code Ⅳ
HTML code Ⅳ
Named entity (none)
CSS code \2163Complete HTML Example
This example demonstrates Ⅳ using hexadecimal code, decimal HTML code, and a CSS content escape on a pseudo-element:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\2163";
}
</style>
</head>
<body>
<p>Roman Numeral Four using Hexa Decimal: Ⅳ</p>
<p>Roman Numeral Four using HTML Code: Ⅳ</p>
<p id="point">Roman Numeral Four using CSS Entity: </p>
</body>
</html>🌐 Browser Support
The character Ⅳ (U+2163) is supported in all modern browsers. Rendering depends on font support for the Number Forms block, so include a sensible fallback font stack:
👀 Live Preview
See Ⅳ rendered in a few practical contexts:
🧠 How It Works
Hexadecimal Code
Ⅳ references Unicode 2163 in hexadecimal to produce the glyph Ⅳ in HTML.
Decimal HTML Code
Ⅳ uses the decimal code point value 8547 to render the same character.
CSS Entity (Escape)
\2163 is used in CSS (often in content) to generate Ⅳ in pseudo-elements like ::before and ::after.
Same visual result
All methods render Ⅳ. Unicode is U+2163 (Number Forms). There is no named HTML entity for this character.
Use Cases
The Roman numeral four (Ⅳ) commonly appears in the following scenarios:
Formal numbering in documents (Ⅰ, Ⅱ, Ⅲ, Ⅳ, Ⅴ).
Volumes, parts, and chapters in books and documentation.
Clauses, sections, and citations using uppercase Roman numerals.
Clock numerals and decorative numbering styles.
Section headings like “Part Ⅳ”.
Use a single glyph instead of “IV” for consistent spacing.
💡 Best Practices
Do
- Use
<ol style="list-style-type: upper-roman">when it’s truly a list - Use numeric references (
Ⅳ/Ⅳ) for portability - Verify font support for Number Forms if the glyph is critical
- Keep numbering style consistent within a section
- Pair with text context when needed (e.g., “Part Ⅳ”)
Don’t
- Use Ⅳ where “IV” letters are semantically intended (they can render differently)
- Assume all fonts include Number Forms
- Mix uppercase and lowercase roman styles without reason
- Use the CSS escape inside HTML content
- Replace semantic list structure with decorative glyphs
Key Takeaways
Use numeric references in HTML
Ⅳ ⅣFor CSS, use the escape in the content property
\2163Unicode U+2163 is in Number Forms
Ⅳ is a single glyph, not two letters
There is no named HTML entity for Ⅳ
❓ Frequently Asked Questions
Ⅳ (hex) or Ⅳ (decimal) in HTML. In CSS, use \2163 in the content property. All render Ⅳ.U+2163 (hex 2163, decimal 8547). It’s part of the Number Forms Unicode block.Ⅳ or Ⅳ) are used directly in markup. The CSS escape \2163 is used in stylesheets (often in content on pseudo-elements). Same glyph, different layer.Ⅳ or Ⅳ instead of a named entity.Explore More HTML Entities!
Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, and more.
8 people found this page helpful
