HTML Entity Detail
HTML Entity - Superscript 2 / Squared
Superscript 2 / Squared is a superscript characters and ordinal indicators. This HTML entity enables web developers to display this character reliably across all browsers without encoding issues.
Symbol preview
²
Unicode
U+00B2
HTML entity
²
CSS code
\00B2
Usage Examples
Use this HTML entity in ordinal numbers (1st, 2nd, 3rd), footnotes, mathematical exponents, and measurements like degrees.
Related Entities
Superscript 2 / Squared
Select any code to highlight it before copying.
Category: Superscript
| Unicode | U+00B2 |
|---|---|
| Hex Code | |
| HTML Code | ² |
| HTML Entity | ² |
| CSS Code | \00B2 |
| Windows Shortcut | Alt 0178 |
| Mac Shortcut | |
HTML code example
CSS code example