HTML Entity for Roman Numeral Four (Ⅳ)

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+2163

What Is the Roman Numeral Four Entity?

Roman Numeral Four (Ⅳ) is the Unicode character at U+2163 in the Number Forms block. It looks like an uppercase roman IV and is used for outlines, chapter labels, and formal numbering.

Remember
Character     Ⅳ
Unicode       U+2163
Hex entity    Ⅳ
Decimal       Ⅳ
CSS escape    \2163
Named entity  (none)

All of these produce the same glyph: Ⅳ. Prefer the Unicode character (or its entities) when you need a true roman numeral; type the letters IV when you only need ordinary text.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct characterⅣHTML text (UTF-8)
Hex entityⅣHTML markup
Decimal entityⅣHTML markup
CSS escape\2163Stylesheet content
Named entity—Not defined in HTML5

When to use which

SituationUse
Need the roman numeral glyph ⅣType Ⅳ, or Ⅳ / Ⅳ
Generated text via ::before / ::aftercontent: "\2163"
Lowercase roman numeral fourUse ⅳ (U+2173)
Ordinary letters IV (not a numeral)Type IV
Looking for &romanIV; or similarDoes not exist — use numeric form

Live Preview

Roman Numeral Four rendered in common writing contexts.

Inline text Ⅳ. Index
Large glyph Ⅳ
Outline Ⅱ Two   Ⅲ Three   Ⅳ Four
Monospace SECTION Ⅳ → NOTES
With entities Hex: Ⅳ | Decimal: Ⅳ

Complete HTML Example

One page that shows Roman Numeral Four with the hex entity, decimal entity, CSS escape, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

All four ways to produce Ⅳ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Roman Numeral Four (Ⅳ) in HTML</title>
  <style>
    #point::after {
      content: "\2163";
    }
  </style>
</head>
<body>
  <p>Roman 4 using Hex Code: &#x2163;</p>
  <p>Roman 4 using HTML Code: &#8547;</p>
  <p id="point">Roman 4 using CSS Entity: </p>
  <p>Typed directly: Ⅳ</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+2163 → &#x2163; in HTML. The browser turns it into Ⅳ.

2. Decimal: same code point as 8547 → &#8547;. Same result as hex.

3. CSS: use \2163 in content (not an HTML entity). #point::after appends that Ⅳ after the paragraph text.

4. Typed Ⅳ: fine in UTF-8 pages. All four lines show the same roman numeral.

Pitfalls & Tips

Common mistakes when working with Roman Numeral Four entities.

Named?

No named entity

HTML5 does not define &romanIV; or similar. Use numeric forms.

CSS vs HTML

Do not mix escapes

\2163 belongs in CSS. &#x2163; / &#8547; belong in HTML.

Ⅳ vs IV vs ⅳ

Different characters

Ⅳ is U+2163; letters IV are Basic Latin; lowercase ⅳ is U+2173.

Fonts

Check the glyph

Number Forms support varies by font. If Ⅳ is missing, fall back to IV or another font.

Semicolon

End references

Always finish with ; — write &#8547;, not &#8547.

Lists

CSS list-style

For auto-numbered roman lists, prefer list-style-type: upper-roman instead of hard-coding Ⅳ.

Browser Support

Roman Numeral Four (U+2163) and its numeric entity forms (&#x2163;, &#8547;, CSS \\2163) are supported in all mainstream browsers. Glyph shape depends on the font.

✓ Universal support

Roman 4 (Ⅳ)

Encode with hex, decimal, or CSS escape — or paste Ⅳ in UTF-8 HTML.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+2163 / entities Full support

Bottom line: Use &#x2163; or &#8547; for the Unicode glyph, and \\2163 only inside CSS content. Prefer the letters IV for ordinary text.

Key Takeaways

  • Unicode: Roman Numeral Four is U+2163 (decimal 8547).
  • HTML: use &#x2163; or &#8547; when you need an entity.
  • CSS: use \2163 inside content for generated text.
  • Default: use Ⅳ for roman outlines; type IV for ordinary letters.

One line: U+2163 → &#x2163; / &#8547; / CSS \2163, or paste Ⅳ.

Frequently Asked Questions

Use &#x2163; (hex), &#8547; (decimal), or the CSS escape \2163 in the content property. All render Ⅳ. You can also paste Ⅳ directly when your file is UTF-8.
U+2163 (hex 2163, decimal 8547). It belongs to the Number Forms Unicode block.
No. HTML5 does not define a named entity for Ⅳ. Use numeric references like &#x2163; or &#8547;.
Use it for outline labels, chapter markers, and typography that needs a true uppercase roman numeral glyph. For ordinary text, typing IV is usually enough.
No. The Latin letters I and V are separate Basic Latin characters. Lowercase roman numeral four is U+2173 (ⅳ). Uppercase roman numeral four is U+2163 (Ⅳ) — a different character.
HTML entities (&#8547; or &#x2163;) go in markup. The CSS escape \2163 is used in stylesheets (usually in the content property of ::before/::after). Both render Ⅳ.

Did you know?

Uppercase roman numeral four is Unicode U+2163 (decimal 8547). HTML5 has no named entity for it — use &#x2163; or &#8547;. It is a different character from the letters IV and from lowercase roman ⅳ (U+2173).

Next: 4 Subscript

Learn the HTML entity for subscript digit four (₄) — useful in formulas and chemical notation.

4 Subscript tutorial →

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