HTML Entity Detail

HTML Entity - Degree

Degree 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+00B0

HTML entity

°

CSS code

\00B0

Usage Examples

Use this HTML entity in ordinal numbers (1st, 2nd, 3rd), footnotes, mathematical exponents, and measurements like degrees.

Common Mistakes

⚠️

Mistake: Using regular numbers instead of superscript for ordinals and exponents

Fix: Use ² (²) and ³ (³) for powers in formulas, and ª/º for ordinals (1ʳ, 2˚). Regular numbers are baseline-aligned and change the meaning.

⚠️

Mistake: Using superscript letters instead of the ordinal indicator

Fix: The feminine ordinal indicator ª (ª) is not the same as superscript 'a'. Use ª for Spanish ordinals like 1ª (primera) and º for 1º (primero).

Degree

Select any code to highlight it before copying.

Category: Superscript
Unicode U+00B0
Hex Code
HTML Code °
HTML Entity °
CSS Code \00B0
Windows Shortcut Alt 0176
Mac Shortcut ⇧⌥Ü
HTML code example
CSS code example
Last updated: 21 Jun 2026