HTML Entity for Superscript Three (³)

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

What You'll Learn

How to display the superscript three (³) in HTML using hex, decimal, the named entity ³, and a CSS escape for generated content.

This character belongs to the Latin-1 Supplement Unicode block and is commonly used for exponents and cubic units like .

⚡ Quick Reference — ³ Entity

Unicode U+00B3

Latin-1 Supplement

Hex Code ³

Hexadecimal reference

HTML Code ³

Decimal reference

Named Entity ³

Most readable option

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

Complete HTML Example

This example demonstrates ³ using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape on a pseudo-element:

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

<p>Superscript Three using Hexa Decimal: &#x00B3;</p>
<p>Superscript Three using HTML Code: &#179;</p>
<p>Superscript Three using HTML Entity: &sup3;</p>
<p id="point">Superscript Three using CSS Entity: </p>

</body>
</html>
Try It Yourself

🌐 Browser Support

The superscript three (³) is widely supported across browsers and fonts because it’s part of the Latin‑1 character set.

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See ³ rendered in common exponent and unit contexts:

Exponent x³ + y³
Cubic unit
Large glyph ³
With entities Hex: ³ | Decimal: ³ | Named: ³

🧠 How It Works

1

Hexadecimal Code

&#x00B3; uses the Unicode hexadecimal value 00B3 to display ³.

HTML markup
2

Decimal HTML Code

&#179; uses the decimal value 179 for the same character.

HTML markup
3

Named Entity

&sup3; is the named HTML entity—the easiest to read and remember.

HTML markup
4

CSS Entity

\00B3 is used in CSS (typically in the content property) to generate ³ in pseudo-elements.

CSS stylesheet
=

Same visual result

All methods render ³. Unicode U+00B3 belongs to the Latin‑1 Supplement block.

Use Cases

Superscript three (³) is commonly used in the following scenarios:

📐 Exponents

Cubic powers like x³ and 2³ in math and education.

📦 Cubic Units

Volume units like m³, cm³, and ft³.

📝 Footnotes

Reference markers in articles and documents.

🛠 Technical Specs

Engineering, science, and product specifications.

🎨 Typography

Single superscript digit without using <sup>.

💡 Best Practices

Do

  • Prefer &sup3; for readable source markup
  • Use one method (named / hex / decimal) consistently across a project
  • Use <sup> for semantic superscript text (not just digits)
  • Use CSS escape \00B3 only in stylesheets

Don’t

  • Use CSS escapes like \00B3 directly in HTML content
  • Mix entity styles randomly in one document
  • Rely on ³ alone when clarity requires text context
  • Confuse superscript ³ with subscript ₃

Key Takeaways

1

Three HTML references all render ³

&#x00B3; &#179; &sup3;
2

For CSS stylesheets, use the escape in the content property

\00B3
3

Unicode U+00B3 is part of Latin‑1 Supplement

4

Use ³ for exponents and cubic units like m³

❓ Frequently Asked Questions

Use &#x00B3; (hex), &#179; (decimal), &sup3; (named), or \00B3 in CSS content. All render ³.
U+00B3 (hex 00B3, decimal 179) in Latin‑1 Supplement.
Yes. Use &sup3; for a readable named entity.
Use ³ when you need a single superscript digit character. Use <sup> when you need semantic superscript text (like variables, words, or longer expressions).
HTML references (&#179; / &#x00B3; / &sup3;) go in markup. The CSS escape \00B3 is used in stylesheets for pseudo-element content. Both render ³.

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