Degree sign (°) is the Unicode character at U+00B0 in the Latin-1 Supplement block. Official name: DEGREE SIGN. Use it for temperatures, angles, and geographic coordinates.
Remember
Character °
Unicode U+00B0
Named entity °
Hex entity °
Decimal °
CSS escape \00B0
Not the same ℃ / ℉ (letterlike)
Prefer ° in HTML markup. Pair with a unit for temperatures: 25°C or 72°F.
One page that shows Degree Sign with named, hex, decimal, CSS escape, and typed character — plus temperature examples. Use View Output or open the live editor.
Named + Hex + Decimal + CSS + Typed
Five ways to produce ° in a single document.
html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Degree Sign (°) in HTML</title>
<style>
#point::after {
content: "\00B0";
}
</style>
</head>
<body>
<p>Degree using Named Entity: °</p>
<p>Degree using Hex Code: °</p>
<p>Degree using HTML Code: °</p>
<p id="point">Degree using CSS Entity: </p>
<p>Typed directly: °</p>
<p>Temperature: 25 °C Angle: 90 °</p>
</body>
</html>
Degree using Named Entity: °
Degree using Hex Code: °
Degree using HTML Code: °
Degree using CSS Entity: °
Typed directly: °
Temperature: 25 °C Angle: 90 °
How It Works
1. Named:° is the HTML5 name for U+00B0 → °. Best default in markup.
2. Hex:U+00B0 → ° in HTML. Same glyph as the named form.
3. Decimal: same code point as 176 → °. Same result as hex and named.
4. CSS: use \00B0 in content (not an HTML entity). #point::after appends that ° after the paragraph text.
5. Typed / composed: paste ° in UTF-8, or write 25°C and 90° for real-world use.
Pitfalls & Tips
Common mistakes when working with Degree Sign.
Units
Add the unit letter
A lone ° is unclear for temperature. Prefer 25°C or 72°F.
℃
Not letterlike Celsius / Fahrenheit
℃ and ℉ are single symbols. °C / °F are usually clearer and more compatible.
Ordinal
Not a masculine ordinal
Do not confuse degree with º (º, U+00BA) used in some languages for ordinals.
CSS vs HTML
Do not mix escapes
\00B0 belongs in CSS strings. ° / ° / ° belong in HTML.
Spacing
Keep style consistent
Pick one spacing rule (25°C vs 25 °C) and use it across the page.
Semicolon
End references
Always finish with ; — write °, not °.
Compatibility
Browser Support
Degree sign (U+00B0) and its entity forms (°, °, °, CSS \\00B0) are supported in all mainstream browsers.
✓ Universal support
Degree Sign (°)
Encode with named, hex, decimal, CSS escape, or type the character — same code point everywhere encoding is supported.
100%Browser coverage
Google ChromeSupported
Yes
Microsoft EdgeSupported
Yes
Mozilla FirefoxSupported
Yes
Apple SafariSupported
Yes
OperaSupported
Yes
Internet ExplorerAll versions
Yes
U+00B0 / entitiesFull support
Bottom line: Prefer ° in HTML. Use ° or ° when numeric form is required, and \\00B0 only inside CSS content.
Remember
Key Takeaways
Unicode: degree sign is U+00B0 (decimal 176) — glyph °.
HTML: prefer °, or use ° / ° / type °.
CSS: use \00B0 inside content for generated text.
Temperatures: prefer °C / °F over letterlike ℃ / ℉ for everyday UI.
One line:U+00B0 → ° / ° / ° / CSS \00B0 / type °.
Frequently Asked Questions
Use ° (named), ° (hex), ° (decimal), type ° directly in UTF-8, or the CSS escape \00B0 in content. Prefer ° in normal HTML.
U+00B0 (DEGREE SIGN). Hex 00B0, decimal 176. It belongs to the Latin-1 Supplement block.
Yes. Use ° — the preferred form in HTML markup. Numeric forms ° and ° also work.
Use ° plus a unit letter (C or F) for everyday temperatures. Use U+2103 or U+2109 only when you specifically need the single letterlike Celsius or Fahrenheit symbols.
HTML entities (°, °, or °) go in markup. The CSS escape \00B0 goes in stylesheet strings (usually content on ::before/::after).
Yes. Write angles like 90° or coordinates like 40.7° N. Keep a thin space or no space per your style guide.
🤔
Did you know?
Degree sign is Unicode U+00B0 (decimal 176) — glyph °. HTML5 names it °. Pair it with a unit letter for temperatures (e.g. °C, °F). It is not the single letterlike symbols ℃ or ℉.