Degree Symbol (°)
HTML entity for the degree symbol (°). Learn how to use ° or ° in HTML for temperature, angles, and coordinates.
Symbol
°
Degree Symbol
All Formats
| Format | Value |
|---|---|
| Character | ° |
| HTML Entity | ° |
| HTML Code (Decimal) | ° |
| Unicode | U+00B0 |
| CSS Content | \00B0 |
| Category | Symbol |
About Degree Symbol
The degree symbol (°) is used to represent degrees of temperature (Celsius, Fahrenheit), angles, and geographic coordinates. It is an essential character for scientific, weather, and mapping websites.
In HTML, insert the degree symbol using °, °, or °. The named entity ° is the most readable and widely used option. When displaying temperatures, place the degree symbol immediately before the unit letter with no space, for example: 72°F or 22°C.
The degree symbol is part of the Latin-1 Supplement Unicode block and has been supported since the earliest HTML specifications. It should not be confused with the masculine ordinal indicator (º), which looks similar but has a different Unicode code point (U+00BA) and is used in Romance languages for ordinal numbers.
In CSS, use "\00B0" with the content property for pseudo-element insertion. The degree symbol renders consistently across all browsers and platforms, including mobile devices and screen readers. When used with screen readers, it is typically announced as "degrees," making it accessible by default.
Usage Examples
<!-- Using named entity -->
<p>This is the Degree Symbol: °</p>
<!-- Using numeric code -->
<p>This is the Degree Symbol: °</p>
<!-- Using the character directly (UTF-8) -->
<p>This is the Degree Symbol: °</p>
<!-- In CSS -->
.icon::before {
content: "\00B0";
}FAQ
What is the HTML entity for Degree Symbol?
The Degree Symbol (°) can be inserted using the named entity °, the numeric code °, or by pasting the character directly in a UTF-8 document.
How do I use ° in CSS?
In CSS, use the content property with the value "\00B0". For example: content: "\00B0";
What is the Unicode code point for Degree Symbol?
The Unicode code point for Degree Symbol is U+00B0. This is the universal identifier for this character across all platforms and programming languages.
Try It in the HTML Entity Tool
Use our HTML Entity Encoder & Decoder to encode and decode HTML entities, convert between named, numeric, and hex formats, and explore the full entity reference table.