HTML Entity for Subscript Zero (₀)

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

What Is the Subscript Zero Entity?

Subscript Zero (₀) is the Unicode character at U+2080 in the Subscripts and Superscripts block. It looks like a small lowered 0 and is common in math and science text such as x₀.

Remember
Character     ₀
Unicode       U+2080
Hex entity    ₀
Decimal       ₀
CSS escape    \2080
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>0</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&#x2080;HTML markup
Decimal entity&#8320;HTML markup
CSS escape\2080Stylesheet content
Named entity—Not defined in HTML5
Semantic tag<sub>0</sub>HTML (formatting, not the ₀ glyph)

When to use which

SituationUse
Need the Unicode glyph ₀Type ₀, or &#x2080; / &#8320;
Generated text via ::before / ::aftercontent: "\2080"
Semantic subscript for any text<sub>0</sub>
Plain digit zero (not subscript)Type 0 (U+0030)
Looking for &sub0; or similarDoes not exist — use numeric form

Live Preview

Subscript Zero rendered in common writing contexts.

Inline text Initial value: x₀ = 0
Large glyph ₀
In an expression a₀ + a₁ + … + aₙ
Monospace x₀ → initial state
With entities Hex: ₀ | Decimal: ₀
Semantic <sub> x0 (tag styles digit 0)

Complete HTML Example

One page that shows Subscript Zero 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 zero in a single document.

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

How It Works

1. Hex: U+2080 → &#x2080; in HTML. The browser turns it into ₀.

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

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

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

Pitfalls & Tips

Common mistakes when working with Subscript Zero entities.

Named?

No named entity

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

CSS vs HTML

Do not mix escapes

\2080 belongs in CSS. &#x2080; / &#8320; belong in HTML.

₀ vs 0

Different characters

₀ is U+2080; digit 0 is U+0030. 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 &#8320;, not &#8320.

Fonts

Check the glyph

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

Browser Support

Subscript Zero (U+2080) and its numeric entity forms (&#x2080;, &#8320;, CSS \\2080) are supported in all mainstream browsers. Glyph shape depends on the font.

✓ Universal support

Subscript Zero (₀)

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

Bottom line: Use &#x2080; or &#8320; for the Unicode glyph, \\2080 only inside CSS content, and <sub>0</sub> when you want semantic subscript.

Key Takeaways

  • Unicode: Subscript Zero is U+2080 (decimal 8320).
  • HTML: use &#x2080; or &#8320; when you need an entity.
  • CSS: use \2080 inside content for generated text.
  • Alternative: use <sub>0</sub> for semantic subscript formatting.

One line: U+2080 → &#x2080; / &#8320; / CSS \2080, or semantic <sub>0</sub>.

Frequently Asked Questions

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

Did you know?

Subscript zero is Unicode U+2080 (decimal 8320). HTML5 has no named entity for it — use &#x2080; or &#8320;. It is a different character from digit zero (U+0030).

Next: 0 Superscript

Learn the HTML entity for superscript zero (⁰) — a different Unicode character from ₀.

0 Superscript 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