HTML Entity for Superscript One (¹)

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

What You'll Learn

How to display Superscript One (¹) in HTML using entity methods: hex, decimal, the named entity ¹, and a CSS escape. This character is widely used for footnotes, powers (like ), and academic references.

Superscript One belongs to the Latin‑1 Supplement block and is referenced as Unicode U+00B9.

⚡ Quick Reference — Superscript One (¹)

Unicode U+00B9

Latin-1 Supplement block

Hex Code ¹

Hexadecimal reference

HTML Code ¹

Decimal reference

Named Entity ¹

Readable and widely supported

Reference Table
Name           Value
────────────   ──────────
Unicode        U+00B9
Hex code       ¹
HTML code      ¹
Named entity   ¹
CSS code       \00B9
1

Complete HTML Example

This example renders ¹ using the hex entity, decimal entity, the named entity, and a CSS escape on a pseudo-element:

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

<p>Superscript One using Hexa Decimal: &#x00B9;</p>
<p>Superscript One using HTML Code: &#185;</p>
<p>Superscript One using HTML Entity: &sup1;</p>
<p id="point">Superscript One using CSS Entity: </p>

</body>
</html>
Try It Yourself

🌐 Browser Support

Superscript One (¹) and the named entity &sup1; are supported across all modern browsers:

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

👀 Live Preview

See ¹ used in a few common contexts:

Footnote marker Read more¹
Large glyph ¹
In a power x¹ = x
Semantic alternative x1 (using the <sup> tag)
With entities Named: ¹ | Hex: ¹ | Decimal: ¹

🧠 How It Works

1

Hexadecimal Code

&#x00B9; uses the Unicode hexadecimal value 00B9 to render ¹.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

Named Entity

&sup1; is the named entity for ¹—readable and widely supported.

HTML markup
4

CSS Entity

\00B9 is a CSS escape typically used in the content property of pseudo-elements.

CSS stylesheet
=

Same visual result

All four methods display ¹. Unicode U+00B9 is part of Latin‑1 Supplement.

Use Cases

Superscript One (¹) is commonly used in:

📌 Footnotes

Footnote indicators and references in articles and docs.

📐 Mathematical Powers

Exponents like and 10¹.

📚 Academic & Legal Citations

Citation markers and reference indices.

📝 Ordinal-like Styling

Stylized “1st” / rankings where superscripts are expected.

🧪 Scientific Notation

Units and indices where superscript is required.

💡 Best Practices

Do

  • Use &sup1; when you want readable source HTML
  • Keep one style (named / hex / decimal) consistent across a page
  • Use <sup> for semantic superscript text when appropriate
  • Use CSS escape in pseudo-elements for generated markers

Don’t

  • Mix entity styles randomly in one document
  • Use CSS escapes inside HTML markup (use them in stylesheets only)
  • Rely on superscripts alone to convey meaning without context
  • Overuse superscripts where normal text is clearer

Key Takeaways

1

¹ is Unicode U+00B9 (Latin‑1 Supplement)

U+00B9 &#x00B9; &#185; &sup1;
2

For CSS stylesheets, use the escape in content

\00B9
3

&sup1; is a named entity and is widely supported

4

Use <sup>1</sup> when semantic superscript formatting matters

❓ Frequently Asked Questions

Use &#x00B9; (hex), &#185; (decimal), &sup1; (named), or \00B9 in CSS content. All render ¹.
U+00B9 (hex 00B9, decimal 185) in Latin‑1 Supplement.
Yes. &sup1; is part of the HTML standard and works across modern browsers.
Use ¹ when you need the specific Unicode glyph. Use <sup> for semantic superscript formatting that applies to any text.
Yes. Use the escape \00B9 in content for ::before/::after to generate the symbol without extra markup.

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