HTML Entity for Roman Numeral Eight (Ⅷ)

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

What Is the Roman Numeral Eight Entity?

Roman Numeral Eight (Ⅷ) is the Unicode character at U+2167 in the Number Forms block. It looks like a capital roman VIII and is used for outlines, chapter labels, and formal numbering.

Remember
Character     Ⅷ
Unicode       U+2167
Hex entity    Ⅷ
Decimal       Ⅷ
CSS escape    \2167
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 VIII 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\2167Stylesheet content
Named entity—Not defined in HTML5

When to use which

SituationUse
Need the roman numeral glyph ⅧType Ⅷ, or Ⅷ / Ⅷ
Generated text via ::before / ::aftercontent: "\2167"
Lowercase roman numeral eightUse ⅷ (U+2177)
Ordinary letters VIII (not a numeral)Type VIII
Looking for &romanVIII; or similarDoes not exist — use numeric form

Live Preview

Roman Numeral Eight rendered in common writing contexts.

Inline text Ⅷ. Index
Large glyph Ⅷ
Outline Ⅵ Six   Ⅶ Seven   Ⅷ Eight
Monospace SECTION Ⅷ → NOTES
With entities Hex: Ⅷ | Decimal: Ⅷ

Complete HTML Example

One page that shows Roman Numeral Eight 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 Eight (Ⅷ) in HTML</title>
  <style>
    #point::after {
      content: "\2167";
    }
  </style>
</head>
<body>
  <p>Roman 8 using Hex Code: &#x2167;</p>
  <p>Roman 8 using HTML Code: &#8551;</p>
  <p id="point">Roman 8 using CSS Entity: </p>
  <p>Typed directly: Ⅷ</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+2167 → &#x2167; in HTML. The browser turns it into Ⅷ.

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

3. CSS: use \2167 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 Eight entities.

Named?

No named entity

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

CSS vs HTML

Do not mix escapes

\2167 belongs in CSS. &#x2167; / &#8551; belong in HTML.

Ⅷ vs VIII vs ⅷ

Different characters

Ⅷ is U+2167; letters VIII are Basic Latin; lowercase ⅷ is U+2177.

Fonts

Check the glyph

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

Semicolon

End references

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

Lists

CSS list-style

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

Browser Support

Roman Numeral Eight (U+2167) and its numeric entity forms (&#x2167;, &#8551;, CSS \\2167) are supported in all mainstream browsers. Glyph shape depends on the font.

✓ Universal support

Roman 8 (Ⅷ)

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+2167 / entities Full support

Bottom line: Use &#x2167; or &#8551; for the Unicode glyph, and \\2167 only inside CSS content. Prefer the letters VIII for ordinary text.

Key Takeaways

  • Unicode: Roman Numeral Eight is U+2167 (decimal 8551).
  • HTML: use &#x2167; or &#8551; when you need an entity.
  • CSS: use \2167 inside content for generated text.
  • Default: use Ⅷ for roman outlines; type VIII for ordinary letters.

One line: U+2167 → &#x2167; / &#8551; / CSS \2167, or paste Ⅷ.

Frequently Asked Questions

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

Did you know?

Roman numeral eight is Unicode U+2167 (decimal 8551). HTML5 has no named entity for it — use &#x2167; or &#8551;. It is a different character from the letters VIII and from lowercase roman ⅷ (U+2177).

Next: 8 Subscript

Learn the HTML entity for subscript digit eight (₈) — a different character from Ⅷ.

8 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