HTML Entity for Uppercase O Slash (Ø)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+00D8

What You'll Learn

How to display the uppercase O with stroke (Ø) in HTML using named entity, hexadecimal, decimal, and CSS escape methods. This character is U+00D8 in the Latin-1 Supplement block—the letter O with a diagonal stroke through it. It is a distinct letter in Danish, Norwegian, and Faroese orthography.

Render it with Ø, Ø, Ø, or CSS escape \00D8. HTML provides the named entity Ø for this character. In UTF-8 documents you can also type Ø directly. Do not confuse Ø with Ö (O diaeresis) or the empty-set symbol ∅.

⚡ Quick Reference — Uppercase O Slash Entity

Unicode U+00D8

Latin-1 Supplement

Hex Code Ø

Hexadecimal reference

HTML Code Ø

Decimal reference

Named Entity Ø

HTML5 named entity

Reference Table
Name           Value
────────────   ──────────
Unicode        U+00D8
Hex code       Ø
HTML code      Ø
Named entity   Ø
CSS code       \00D8
Meaning        Latin capital letter O with stroke
Related        U+00F8 = ø (lowercase, ø)
Block          Latin-1 Supplement (U+0080–U+00FF)
1

Complete HTML Example

A simple example showing the uppercase O slash (Ø) using the named entity, hexadecimal code, decimal HTML code, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\00D8";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x00D8;</p>
<p>Symbol (decimal): &#216;</p>
<p>Symbol (named): &Oslash;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

The uppercase O slash (Ø) and the named entity &Oslash; are supported in all modern browsers:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See the uppercase O slash (Ø) in Scandinavian language contexts:

Large glyphØ
DanishØresund  |  Øst  |  Øl (capitalized)
NorwegianØstfold  |  Østerdalen
Named entity&Oslash; renders as Ø
Lowercaseø (U+00F8) — use &oslash;
Not the same asÖ (diaeresis)  |  Ô (circumflex)  |  ∅ (empty set)
Numeric refs&#x00D8; &#216; &Oslash; \00D8

🧠 How It Works

1

Named Entity

&Oslash; is the HTML named entity for O slash—readable in source HTML and widely used for Danish and Norwegian content.

HTML markup
2

Hexadecimal Code

&#x00D8; uses the Unicode hexadecimal value 00D8 to display the character. The x prefix indicates hexadecimal format.

HTML markup
3

Decimal HTML Code

&#216; uses the decimal Unicode value 216 to display the same character. A common method when a numeric reference is needed.

HTML markup
4

CSS Entity

\00D8 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All four methods produce the glyph: Ø. Unicode U+00D8 sits in Latin-1 Supplement. Lowercase equivalent: U+00F8 (ø, &oslash;). Do not confuse with Ö (diaeresis), Ô (circumflex), or ∅ (empty set).

Use Cases

The uppercase O slash (Ø) is commonly used in:

🇩🇰 Danish

Capitalized words and place names (Øresund, Øst). Ø is a distinct letter in the Danish alphabet.

🇳🇴 Norwegian

Used in Norwegian Bokmål and Nynorsk at sentence start or in titles (Østfold, Østerdalen).

🇬🇷 Faroese

Used in Faroese orthography in capitalized form. Essential for Faroese-language content.

🌐 Multilingual sites

Menus, search, forms, and content for Scandinavian audiences. Correct Ø improves readability and SEO.

📝 Names & places

Personal names, brand names, and geographic names with capital Ø (e.g. Øresund, SØren at sentence start).

♿ Accessibility

Using U+00D8 or &Oslash; with proper lang attributes ensures assistive technologies pronounce text correctly.

⚙ Programmatic HTML

When generating markup, &Oslash; or &#216; guarantees correct Scandinavian letter output.

💡 Best Practices

Do

  • Use U+00D8 (Ø) for Danish, Norwegian, and Faroese text
  • Prefer &Oslash; over numeric codes when using entities—it is more readable
  • Set lang="da", lang="no", or lang="fo" on Scandinavian content blocks
  • Serve pages as UTF-8; you can also type Ø directly in UTF-8 source
  • Distinguish Ø from Ö (diaeresis), plain O, and ∅ (empty set)

Don’t

  • Substitute Ö (diaeresis) or plain O when Ø is required
  • Use ∅ (empty set) in place of Ø in language text
  • Use Swedish Ö where Danish/Norwegian Ø is required—they are different letters
  • Put CSS escape \00D8 in HTML text nodes
  • Mix entity styles inconsistently within the same project

Key Takeaways

1

Four references render Ø; named entity is &Oslash;

&Oslash; &#x00D8; &#216;
2

For CSS stylesheets, use the escape in the content property

\00D8
3

Unicode U+00D8 — LATIN CAPITAL LETTER O WITH STROKE

4

Danish, Norwegian, Faroese; lowercase is ø (&oslash;)

❓ Frequently Asked Questions

Use &Oslash; (named), &#x00D8; (hex), &#216; (decimal), or \00D8 in CSS content. In UTF-8 you can also type Ø directly.
U+00D8 (LATIN CAPITAL LETTER O WITH STROKE). Latin-1 Supplement block. Hex 00D8, decimal 216. Used in Danish, Norwegian, and Faroese. Lowercase form is U+00F8 (ø).
When displaying Danish, Norwegian, or Faroese text at sentence start or in capitalized words, Scandinavian place names and personal names, multilingual websites, and any content that requires O with stroke.
Yes. The named HTML entity for Ø is &Oslash;. You can also use numeric codes &#216; or &#x00D8;, or the CSS entity \00D8. In UTF-8 pages you can type Ø directly.
Ø (U+00D8) is O with stroke, used in Danish and Norwegian. Ö (U+00D6) is O with diaeresis, used in German, Swedish, and other languages. They are different letters with different pronunciations.

Explore More HTML Entities!

Discover 1500+ HTML character references — letters, symbols, and more.

All HTML Entities →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful