HTML Entity for Roman Numeral Seven (Ⅶ)

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

What Is the Roman Numeral Seven Entity?

Roman Numeral Seven (Ⅶ) is the Unicode character at U+2166 in the Number Forms block. It looks like a capital roman VII and is used for outlines, chapter labels, and formal numbering.

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

When to use which

SituationUse
Need the roman numeral glyph ⅦType Ⅶ, or Ⅶ / Ⅶ
Generated text via ::before / ::aftercontent: "\2166"
Lowercase roman numeral sevenUse ⅶ (U+2176)
Ordinary letters VII (not a numeral)Type VII
Looking for &romanVII; or similarDoes not exist — use numeric form

Live Preview

Roman Numeral Seven rendered in common writing contexts.

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

Complete HTML Example

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

How It Works

1. Hex: U+2166 → &#x2166; in HTML. The browser turns it into Ⅶ.

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

3. CSS: use \2166 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 Seven entities.

Named?

No named entity

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

CSS vs HTML

Do not mix escapes

\2166 belongs in CSS. &#x2166; / &#8550; belong in HTML.

Ⅶ vs VII vs ⅶ

Different characters

Ⅶ is U+2166; letters VII are Basic Latin; lowercase ⅶ is U+2176.

Fonts

Check the glyph

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

Semicolon

End references

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

Lists

CSS list-style

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

Browser Support

Roman Numeral Seven (U+2166) and its numeric entity forms (&#x2166;, &#8550;, CSS \\2166) are supported in all mainstream browsers. Glyph shape depends on the font.

✓ Universal support

Roman 7 (Ⅶ)

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

Bottom line: Use &#x2166; or &#8550; for the Unicode glyph, and \\2166 only inside CSS content. Prefer the letters VII for ordinary text.

Key Takeaways

  • Unicode: Roman Numeral Seven is U+2166 (decimal 8550).
  • HTML: use &#x2166; or &#8550; when you need an entity.
  • CSS: use \2166 inside content for generated text.
  • Default: use Ⅶ for roman outlines; type VII for ordinary letters.

One line: U+2166 → &#x2166; / &#8550; / CSS \2166, or paste Ⅶ.

Frequently Asked Questions

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

Did you know?

Roman numeral seven is Unicode U+2166 (decimal 8550). HTML5 has no named entity for it — use &#x2166; or &#8550;. It is a different character from the letters VII and from lowercase roman ⅶ (U+2176).

Next: 7 Subscript

Learn the HTML entity for subscript digit seven (₇) — a different character from Ⅶ.

7 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