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.
Reference
Quick Reference
One table for every form you will actually use.
Form
Code
Where it goes
Direct character
Ⅶ
HTML text (UTF-8)
Hex entity
Ⅶ
HTML markup
Decimal entity
Ⅶ
HTML markup
CSS escape
\2166
Stylesheet content
Named entity
—
Not defined in HTML5
When to use which
Situation
Use
Need the roman numeral glyph Ⅶ
Type Ⅶ, or Ⅶ / Ⅶ
Generated text via ::before / ::after
content: "\2166"
Lowercase roman numeral seven
Use ⅶ (U+2176)
Ordinary letters VII (not a numeral)
Type VII
Looking for &romanVII; or similar
Does not exist — use numeric form
See it
Live Preview
Roman Numeral Seven rendered in common writing contexts.
Inline textⅦ. Index
Large glyphⅦ
OutlineⅤ Five Ⅵ Six Ⅶ Seven
MonospaceSECTION Ⅶ → NOTES
With entitiesHex: Ⅶ | Decimal: Ⅶ
Code
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: Ⅶ</p>
<p>Roman 7 using HTML Code: Ⅶ</p>
<p id="point">Roman 7 using CSS Entity: </p>
<p>Typed directly: Ⅶ</p>
</body>
</html>
Roman 7 using Hex Code: Ⅶ
Roman 7 using HTML Code: Ⅶ
Roman 7 using CSS Entity: Ⅶ
Typed directly: Ⅶ
How It Works
1. Hex:U+2166 → Ⅶ in HTML. The browser turns it into Ⅶ.
2. Decimal: same code point as 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. Ⅶ / Ⅶ 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 Ⅶ, not Ⅶ.
Lists
CSS list-style
For auto-numbered roman lists, prefer list-style-type: upper-roman instead of hard-coding Ⅶ.
Compatibility
Browser Support
Roman Numeral Seven (U+2166) and its numeric entity forms (Ⅶ, Ⅶ, 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 ChromeSupported
Yes
Microsoft EdgeSupported
Yes
Mozilla FirefoxSupported
Yes
Apple SafariSupported
Yes
OperaSupported
Yes
Internet ExplorerAll versions
Yes
U+2166 / entitiesFull support
Bottom line: Use Ⅶ or Ⅶ for the Unicode glyph, and \\2166 only inside CSS content. Prefer the letters VII for ordinary text.
Remember
Key Takeaways
Unicode: Roman Numeral Seven is U+2166 (decimal 8550).
HTML: use Ⅶ or Ⅶ 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 → Ⅶ / Ⅶ / CSS \2166, or paste Ⅶ.
Frequently Asked Questions
Use Ⅶ (hex), Ⅶ (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 Ⅶ or Ⅶ.
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 (Ⅶ or Ⅶ) 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 Ⅶ or Ⅶ. It is a different character from the letters VII and from lowercase roman ⅶ (U+2176).