HTML Entity for Lowercase Roman Numeral Two (ⅱ)

Beginner
⏱️ 5 min read
📚 Updated: Aug 2025
🎯 1 Code Example
Unicode U+2171

What You'll Learn

How to display the lowercase roman numeral two (ⅱ) in HTML using hex, decimal, and CSS entity methods. This character belongs to the Number Forms Unicode block and is useful for outlines, hierarchical numbering, lists, academic content, and typography.

ⅱ has no named HTML entity. You’ll typically use numeric references (ⅱ or ⅱ) or a CSS escape (\2171 in content).

⚡ Quick Reference — ⅱ Entity

Unicode U+2171

Number Forms block

Hex Code ⅱ

Hexadecimal reference

HTML Code ⅱ

Decimal reference

CSS Code \2171

Use in CSS content

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2171
Hex code       ⅱ
HTML code      ⅱ
Named entity   (none)
CSS code       \2171
1

Complete HTML Example

This example demonstrates the lowercase roman numeral two (ⅱ) using hexadecimal code, decimal HTML code, and a CSS content escape on a pseudo-element:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2171";
  }
 </style>
</head>
<body>

<p>Lowercase Roman Two using Hexa Decimal: &#x2171;</p>
<p>Lowercase Roman Two using HTML Code: &#8561;</p>
<p id="point">Lowercase Roman Two using CSS Entity: </p>

</body>
</html>
Try It Yourself

🌐 Browser Support

The ⅱ character (Unicode U+2171) is supported in all modern browsers. If a font doesn’t include the Number Forms glyph, the browser may fall back to another font.

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See the lowercase roman numeral two rendered live in different contexts:

Inline text Appendix ⅱ covers the second topic in detail.
Large glyph
Numbering Section ⅱ → 2 (lowercase roman numeral)
Font fallback check If a font lacks Number Forms, the browser will use a fallback font to render ⅱ.

🧠 How It Works

1

Hexadecimal Code

&#x2171; references Unicode 2171 in hexadecimal, producing the glyph in your HTML.

HTML markup
2

Decimal HTML Code

&#8561; references the same Unicode code point using the decimal value 8561.

HTML markup
3

CSS Entity (Escape)

\2171 is used in CSS (most often in the content property) to generate ⅱ without adding extra HTML.

CSS stylesheet
=

Same visual result

All methods produce . The Unicode value is U+2171 in the Number Forms block. There is no named HTML entity for this character.

Use Cases

The lowercase roman numeral two (ⅱ) commonly appears in the following scenarios:

📋 Outlines

Hierarchical numbering in long documents, appendices, or structured notes.

📝 Lists

Lowercase roman list markers or multi-level numbering schemes.

🎓 Academic Content

Front matter, appendices, citations, and styles that prefer roman numerals.

📄 Figure/Table Labels

Captions or references like “Table ⅱ” when style requires roman numbering.

🎨 Typography

Design-focused headings and decorative numbering where ⅱ is desired.

⚖️ Legal/Technical Docs

Formal documents with established roman numeral conventions.

💡 Best Practices

Do

  • Use &#x2171; or &#8561; for reliable HTML rendering
  • Use the CSS escape \2171 in content for decorative markers
  • Prefer semantic lists (<ol>) when you’re presenting real list content
  • Keep the roman style consistent (lowercase vs uppercase) throughout a document
  • Test fonts and fallback behavior on mobile devices

Don’t

  • Assume every font includes all Number Forms glyphs
  • Use the CSS escape \2171 directly in HTML text
  • Mix hex/decimal styles randomly in the same file
  • Use roman numerals where the convention expects arabic numbers
  • Rely on a single glyph without context when it conveys meaning

Key Takeaways

1

Two HTML numeric references render ⅱ

&#x2171; &#8561;
2

For CSS stylesheets, use the escape in the content property

\2171
3

Unicode U+2171 belongs to the Number Forms block

4

There is no named HTML entity for this character

5

Use ⅱ for outlines, hierarchical numbering, lists, and typography

❓ Frequently Asked Questions

Use &#x2171; (hex) or &#8561; (decimal) in HTML. For CSS, use \2171 in the content property. All methods render ⅱ.
U+2171 (hex 2171, decimal 8561). It’s part of the Number Forms block.
Use it in outlines, hierarchical lists, numbering schemes, academic content, and typography where lowercase roman numerals are required.
HTML numeric references (&#8561; or &#x2171;) go directly in markup. The CSS escape \2171 is used in stylesheets (usually in content on ::before/::after). Same visual result, different layers of the stack.
Characters from the Number Forms block typically don’t have named HTML entities and are referenced using numeric codes. For ⅱ, use hex &#x2171; or decimal &#8561;.

Explore More HTML Entities!

Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, and more.

All HTML Entities →

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