HTML Entity for Subscript Zero (₀)

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

What You'll Learn

How to display Subscript Zero (₀) in HTML using the Unicode-based entity methods: hex, decimal, and a CSS escape. This symbol is common in math and scientific writing such as x₀ (initial value), indices, and notation.

The character belongs to the Subscripts and Superscripts Unicode block and is referenced as U+2080.

⚡ Quick Reference — Subscript Zero Entity

Unicode U+2080

Subscripts and Superscripts block

Hex Code ₀

Hexadecimal reference

HTML Code ₀

Decimal reference

Named Entity

No named entity available

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2080
Hex code       ₀
HTML code      ₀
Named entity   —
CSS code       \2080
1

Complete HTML Example

This example renders Subscript Zero (₀) using the hex entity, decimal entity, and a CSS escape on a pseudo-element:

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

<p>Subscript Zero using Hexa Decimal: &#x2080;</p>
<p>Subscript Zero using HTML Code: &#8320;</p>
<p id="point">Subscript Zero using CSS Entity: </p>

</body>
</html>
Try It Yourself

🌐 Browser Support

Subscript Zero (₀) and its numeric entities are supported in all modern browsers:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

Here are a few real-world ways Subscript Zero (₀) appears in content:

Inline text Initial value: x₀ = 0
Large glyph
In an expression a₀ + a₁ + … + aₙ
Monospace x₀ → initial state
Semantic alternative x0 (using the <sub> tag)

🧠 How It Works

1

Hexadecimal Code

&#x2080; uses the Unicode hexadecimal value 2080 to render Subscript Zero.

HTML markup
2

Decimal HTML Code

&#8320; uses the decimal Unicode value 8320 for the same character.

HTML markup
3

CSS Entity

\2080 is a CSS escape used in stylesheets (typically inside content for ::before/::after).

CSS stylesheet
4

Semantic Option

If you want semantic subscript formatting (not a specific glyph), use <sub>0</sub> to render 0 as a subscript.

HTML semantics
=

Same visual result

The entity forms all display . Unicode U+2080 sits in the Subscripts and Superscripts block.

Use Cases

Subscript Zero (₀) is commonly used in:

📐 Mathematical Formulas

Indices and initial values (e.g. x₀, a₀).

🧪 Scientific Writing

Equations, derivations, and textbook-style notation.

💻 Technical Documentation

Specs and API docs that use subscripted symbols in prose.

🎓 Education

Tutorials and examples where notation must match printed math.

📝 Notes & References

Numbered references or notation that requires a subscript glyph.

💡 Best Practices

Do

  • Use &#x2080; or &#8320; consistently across a page
  • Prefer <sub> when you want semantic formatting for arbitrary text
  • Test rendering with your chosen font (some fonts have weak subscript glyphs)
  • Use plain-text explanations alongside notation when teaching

Don’t

  • Assume there is a named entity for ₀ (there isn’t)
  • Mix CSS escapes into HTML markup (use them in stylesheets only)
  • Use subscript glyphs when you actually need semantic <sub> structure
  • Rely on subscripts alone to convey meaning without context

Key Takeaways

1

Subscript Zero is Unicode U+2080

U+2080 &#x2080; &#8320;
2

Use CSS escape in stylesheets via content

\2080
3

There is no named HTML entity for ₀

4

Use <sub>0</sub> when you want semantic subscript formatting

❓ Frequently Asked Questions

Use &#x2080; (hex), &#8320; (decimal), or \2080 in CSS content. All render ₀.
U+2080 (hex 2080, decimal 8320) in the Subscripts and Superscripts block.
No. Use numeric references like &#x2080; or &#8320;.
Use ₀ (or its entities) when you need the exact Unicode glyph. Use <sub> when you want semantic subscript formatting for arbitrary text like x<sub>0</sub>.
Glyph design is font-dependent. If the ₀ glyph looks too small or misaligned, choose a font with better math support or use <sub> with CSS styling.

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