HTML Entity for Subscript One (₁)

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

What Is the Subscript One Entity?

Subscript One (₁) is the Unicode character at U+2081 in the Subscripts and Superscripts block. It looks like a small lowered 1 and is common in math and science text such as x₁.

Remember
Character     ₁
Unicode       U+2081
Hex entity    ₁
Decimal       ₁
CSS escape    \2081
Named entity  (none)

All of these produce the same glyph: ₁. Prefer the Unicode character (or its entities) when you need that exact glyph; use <sub>1</sub> when you want semantic subscript formatting instead.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character₁HTML text (UTF-8)
Hex entity&#x2081;HTML markup
Decimal entity&#8321;HTML markup
CSS escape\2081Stylesheet content
Named entity—Not defined in HTML5
Semantic tag<sub>1</sub>HTML (formatting, not the ₁ glyph)

When to use which

SituationUse
Need the Unicode glyph ₁Type ₁, or &#x2081; / &#8321;
Generated text via ::before / ::aftercontent: "\2081"
Semantic subscript for any text<sub>1</sub>
Plain digit one (not subscript)Type 1 (U+0031)
Looking for &sub1; or similarDoes not exist — use numeric form

Live Preview

Subscript One rendered in common writing contexts.

Inline text First term: x₁ = 1
Large glyph ₁
In an expression a₀ + a₁ + … + aₙ
Monospace x₁ → first element
With entities Hex: ₁ | Decimal: ₁
Semantic <sub> x1 (tag styles digit 1)

Complete HTML Example

One page that shows Subscript One with the hex entity, decimal entity, CSS escape, and the semantic <sub> option. Use View Output or open the live editor.

Hex + Decimal + CSS + <sub>

Four ways to show a lowered one in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Subscript One (₁) in HTML</title>
  <style>
    #point::after {
      content: "\2081";
    }
  </style>
</head>
<body>
  <p>Subscript One using Hex Code: &#x2081;</p>
  <p>Subscript One using HTML Code: &#8321;</p>
  <p id="point">Subscript One using CSS Entity: </p>
  <p>Semantic alternative: x<sub>1</sub></p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+2081 → &#x2081; in HTML. The browser turns it into ₁.

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

3. CSS: use \2081 in content (not an HTML entity). #point::after appends that ₁ after the paragraph text.

4. Semantic <sub>: x<sub>1</sub> styles digit one as a subscript. Prefer this when you need meaning, not a specific Unicode glyph.

Pitfalls & Tips

Common mistakes when working with Subscript One entities.

Named?

No named entity

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

CSS vs HTML

Do not mix escapes

\2081 belongs in CSS. &#x2081; / &#8321; belong in HTML.

₁ vs 1

Different characters

₁ is U+2081; digit 1 is U+0031. Do not treat them as the same.

Glyph vs tag

Choose intentionally

Use the Unicode glyph for exact look; use <sub> for semantic subscript on any text.

Semicolon

End references

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

Fonts

Check the glyph

Some fonts draw ₁ weakly. If appearance matters, test the font or prefer <sub>.

Browser Support

Subscript One (U+2081) and its numeric entity forms (&#x2081;, &#8321;, CSS \\2081) are supported in all mainstream browsers. Glyph shape depends on the font.

✓ Universal support

Subscript One (₁)

Encode with hex, decimal, or CSS escape — or use <sub> for semantic formatting.

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

Bottom line: Use &#x2081; or &#8321; for the Unicode glyph, \\2081 only inside CSS content, and <sub>1</sub> when you want semantic subscript.

Key Takeaways

  • Unicode: Subscript One is U+2081 (decimal 8321).
  • HTML: use &#x2081; or &#8321; when you need an entity.
  • CSS: use \2081 inside content for generated text.
  • Alternative: use <sub>1</sub> for semantic subscript formatting.

One line: U+2081 → &#x2081; / &#8321; / CSS \2081, or semantic <sub>1</sub>.

Frequently Asked Questions

Use &#x2081; (hex), &#8321; (decimal), or the CSS escape \2081 in the content property. All render ₁. You can also paste the character ₁ directly when your file is UTF-8.
U+2081 (hex 2081, decimal 8321). It belongs to the Subscripts and Superscripts Unicode block.
No. HTML5 does not define a named entity for ₁. Use numeric references like &#x2081; or &#8321;.
Use ₁ (or its entities) when you need the exact Unicode subscript glyph. Use <sub>1</sub> when you want semantic subscript formatting for arbitrary text.
No. Digit one is U+0031. Subscript One is U+2081 — a different character with a different code point.
HTML entities (&#8321; or &#x2081;) go in markup. The CSS escape \2081 is used in stylesheets (usually in the content property of ::before/::after). Both render ₁.

Did you know?

Subscript one is Unicode U+2081 (decimal 8321). HTML5 has no named entity for it — use &#x2081; or &#8321;. It is a different character from digit one (U+0031).

Next: 1 Superscript

Learn the HTML entity for superscript one (¹) — a different Unicode character from ₁.

1 Superscript tutorial →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

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