How To Write Degree Symbol?

Write `°` directly (e.g., `25°`)

Use HTML: `°` (e.g., `25°C`)

Use Unicode (UTF-8): `u00B0` (e.g., `25u00B0`)

In LaTeX: `^{circ}` (e.g., `25^{circ}text{C}`)

In CSS: `content: “0B0”;`

In JavaScript: `”u00B0″` (e.g., `25 + “u00B0″`)

In Python: `”u00B0″` (e.g., `f”{25}u00B0″`)

In C#: `”u00B0″` (e.g., `”{25}u00B0″`)

On Windows (Alt code): hold `Alt` and type `0176` on the numeric keypad

On macOS: Option (⌥) + `Shift` + `8`

On Linux (common): `Ctrl` + `Shift` + `u` then `00b0` then `Enter`

Suggested for You

Trending Today