HTML Entity for Lowercase Roman Numeral Two (ⅱ)

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

What Is the Lowercase Roman Numeral Two Entity?

Lowercase Roman Numeral Two (ⅱ) is the Unicode character at U+2171 in the Number Forms block. It looks like a small roman ii and is used for outlines, chapter labels, and formal numbering.

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

When to use which

SituationUse
Need the roman numeral glyph ⅱType ⅱ, or ⅱ / ⅱ
Generated text via ::before / ::aftercontent: "\2171"
Uppercase roman numeral twoUse Ⅱ (U+2161)
Ordinary letters ii (not a numeral)Type ii
Looking for &romanii; or similarDoes not exist — use numeric form

Live Preview

Lowercase Roman Numeral Two rendered in common writing contexts.

Inline text ⅱ. Appendix
Large glyph ⅱ
Outline ⅰ One   ⅱ Two   ⅲ Three
Monospace section ⅱ → appendix
With entities Hex: ⅱ | Decimal: ⅱ

Complete HTML Example

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

How It Works

1. Hex: U+2171 → &#x2171; in HTML. The browser turns it into ⅱ.

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

3. CSS: use \2171 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 Lowercase Roman Numeral Two entities.

Named?

No named entity

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

CSS vs HTML

Do not mix escapes

\2171 belongs in CSS. &#x2171; / &#8561; belong in HTML.

ⅱ vs ii vs Ⅱ

Different characters

ⅱ is U+2171; letters ii are Basic Latin; uppercase Ⅱ is U+2161.

Fonts

Check the glyph

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

Semicolon

End references

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

Lists

CSS list-style

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

Browser Support

Lowercase Roman Numeral Two (U+2171) and its numeric entity forms (&#x2171;, &#8561;, CSS \\2171) are supported in all mainstream browsers. Glyph shape depends on the font.

✓ Universal support

Lowercase Roman 2 (ⅱ)

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

Bottom line: Use &#x2171; or &#8561; for the Unicode glyph, and \\2171 only inside CSS content. Prefer the letters ii for ordinary text.

Key Takeaways

  • Unicode: Lowercase Roman Numeral Two is U+2171 (decimal 8561).
  • HTML: use &#x2171; or &#8561; when you need an entity.
  • CSS: use \2171 inside content for generated text.
  • Default: use ⅱ for roman outlines; type ii for ordinary letters.

One line: U+2171 → &#x2171; / &#8561; / CSS \2171, or paste ⅱ.

Frequently Asked Questions

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

Did you know?

Lowercase roman numeral two is Unicode U+2171 (decimal 8561). HTML5 has no named entity for it — use &#x2171; or &#8561;. It is a different character from the letters ii and from uppercase roman Ⅱ (U+2161).

Next: 2 Roman

Learn the HTML entity for uppercase roman numeral two (Ⅱ) — a different character from ⅱ.

2 Roman 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