HTML Entity for Superscript Zero (⁰)

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

What You'll Learn

How to display Superscript Zero (⁰) in HTML using Unicode-based entity methods: hex, decimal, and a CSS escape. It appears in exponents and power notation such as x⁰ and 10⁰, plus scientific and educational writing.

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

⚡ Quick Reference — Superscript Zero Entity

Unicode U+2070

Subscripts and Superscripts block

Hex Code ⁰

Hexadecimal reference

HTML Code ⁰

Decimal reference

Named Entity

No named entity available

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

Complete HTML Example

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

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

<p>Superscript Zero using Hexa Decimal: &#x2070;</p>
<p>Superscript Zero using HTML Code: &#8304;</p>
<p id="point">Superscript Zero using CSS Entity: </p>

</body>
</html>
Try It Yourself

🌐 Browser Support

Superscript 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 Superscript Zero (⁰) appears in content:

Inline text Exponent rule: x⁰ = 1 (for x ≠ 0)
Large glyph
In a power 10⁰ = 1
Monospace x⁰ → 1
Semantic alternative x0 (using the <sup> tag)

🧠 How It Works

1

Hexadecimal Code

&#x2070; uses the Unicode hexadecimal value 2070 to render Superscript Zero.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

CSS Entity

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

CSS stylesheet
4

Semantic Option

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

HTML semantics
=

Same visual result

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

Use Cases

Superscript Zero (⁰) is commonly used in:

📐 Exponents & Powers

Power notation like x⁰ and 10⁰ in math content.

🔬 Scientific Notation

Engineering and scientific writing that uses raised digits.

🎓 Education

Textbooks and tutorials where notation should match printed math.

💻 Technical Documentation

Docs with formulas and examples that include power notation.

📝 Notes & References

Occasional use as a raised marker in structured documents.

💡 Best Practices

Do

  • Use &#x2070; or &#8304; consistently across a page
  • Prefer <sup> when you want semantic formatting for arbitrary text
  • Test rendering with your chosen font (math fonts render superscripts best)
  • Keep formulas readable by pairing notation with explanations

Don’t

  • Assume there is a named entity for ⁰ (there isn’t)
  • Mix CSS escapes into HTML markup (use them in stylesheets only)
  • Use superscript glyphs when you actually need semantic <sup> structure
  • Rely on raised digits alone to communicate meaning without context

Key Takeaways

1

Superscript Zero is Unicode U+2070

U+2070 &#x2070; &#8304;
2

Use CSS escape in stylesheets via content

\2070
3

There is no named HTML entity for ⁰

4

Use <sup>0</sup> when you want semantic superscript formatting

❓ Frequently Asked Questions

Use &#x2070; (hex), &#8304; (decimal), or \2070 in CSS content. All render ⁰.
U+2070 (hex 2070, decimal 8304) in the Subscripts and Superscripts block.
No. Use numeric references like &#x2070; or &#8304;.
Use ⁰ (or its entities) when you need the exact Unicode glyph. Use <sup> when you want semantic superscript formatting for arbitrary text like x<sup>0</sup>.
Glyph design is font-dependent. If ⁰ looks too small or too high, use a font with better math support, or use <sup> plus CSS for consistent layout.

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