HTML Entity for Uppercase O Slash (Ø)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+00D8

What Is Uppercase O Slash?

Uppercase O slash (Ø) is the Unicode character at U+00D8 in Latin-1 Supplement. Official name: LATIN CAPITAL LETTER O WITH STROKE — a capital O with a diagonal stroke, used as a letter in Danish, Norwegian, and Faroese.

Remember
Character     Ø
Unicode       U+00D8
Named entity  Ø  (capital O)
Hex entity    Ø
Decimal       Ø
CSS escape    \00D8
Not the same  ø · ∅ · Ö

Prefer Ø in HTML markup — the capital O in the name matters. Numeric forms and typing Ø in UTF-8 also work. For the lowercase letter, use ø (ø).

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entityØHTML markup (preferred)
Direct characterØHTML text (UTF-8)
Hex entityØHTML markup
Decimal entityØHTML markup
CSS escape\00D8Stylesheet content
Lowercase (related)ø (U+00F8)Named ø

When to Use Which

SituationUse
Capital O with stroke (Ø)Ø or type Ø
Lowercase o with stroke (ø)ø (ø)
Capital O with stroke and acute (Ǿ)Ǿ
Capital O with diaeresis (Ö)Ö (Ö)
Empty set (math symbol ∅)∅ — not a letter Ø
Generated text via ::before / ::aftercontent: "\00D8"

Live Preview

Uppercase O slash rendered alone and next to related letters.

Large glyph Ø
Notation Øresund
Compared Ø  |  ø  |  Ö  |  ∅
Hint Compare: Stroke Ø | Lower ø | Diaeresis Ö | Empty set ∅
With entities Named: Ø | Hex: Ø | Decimal: Ø

Complete HTML Example

One page that shows the letter with named, hex, decimal, CSS escape, and a typed character. Use View Output or open the live editor.

Named + Hex + Decimal + CSS + Typed

Five ways to produce Ø, plus a short Danish place name.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Uppercase O Slash (Ø)</title>
  <style>
    #point::after {
      content: "\00D8";
    }
  </style>
</head>
<body>
  <p>Using Named Entity: &Oslash;</p>
  <p>Using Hex Code: &#xD8;</p>
  <p>Using HTML Code: &#216;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Typed directly: Ø</p>
  <p lang="da">Danish: &Oslash;resund</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &Oslash; (capital O) is the clearest HTML form for U+00D8. Lowercase &oslash; is a different character (ø).

2. Hex: U+00D8 → &#xD8; in HTML. Same glyph as the named entity.

3. Decimal: same code point as 216 → &#216;. Same glyph as hex and named.

4. CSS: use \00D8 in content (not an HTML entity). #point::after appends that Ø after the paragraph text.

5. Typed / word: paste Ø in UTF-8, or write &Oslash;resund with lang="da".

Pitfalls & Tips

Common mistakes when working with U+00D8.

Case

&Oslash; ≠ &oslash;

&Oslash; → Ø (capital). &oslash; → ø (lowercase). Entity names are case-sensitive.

vs ∅

Not the empty set

∅ (U+2205) is a math symbol. Ø is a letter. Use the letter for names and language text.

vs Ö

Not a diaeresis

Ö (&Ouml;) is Ö with two dots. Ø has a stroke through the O.

vs O/

Not two ASCII characters

Typing O/ is not the same as one precomposed letter. Prefer &Oslash;.

Encoding

Keep UTF-8 declared

Latin-1 letters display reliably with <meta charset="UTF-8">. Prefer named entities when encoding is uncertain.

CSS vs HTML

Do not mix escapes

\00D8 belongs in CSS strings. &Oslash; / &#xD8; / &#216; belong in HTML.

A11y

Use real language context

When Ø appears in Danish or Norwegian words, keep surrounding text and lang accurate (for example lang="da" or lang="no").

Browser Support

Uppercase O slash (U+00D8) and its entity forms (&Oslash;, &#xD8;, &#216;, CSS \\00D8) are supported in all mainstream browsers. Latin-1 glyphs are standard in system fonts.

✓ Universal support

Uppercase O Slash (&#x00D8;)

Encode with named, hex, decimal, CSS escape, or type the character — same code point everywhere encoding is supported.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+00D8 / &Oslash; Full support

Bottom line: Prefer &Oslash; (capital O) in HTML. Use \\00D8 only inside CSS content. Do not confuse with &oslash; (ø) or empty set ∅.

Key Takeaways

  • Unicode: uppercase O slash is U+00D8 (decimal 216) — glyph Ø.
  • HTML: prefer &Oslash; (capital O) — also &#xD8; / &#216;.
  • CSS: use \00D8 inside content for generated text.
  • Meaning: Ø is capital stroke — not ø (&oslash;), not Ö (diaeresis), not ∅ (empty set).

One line: U+00D8 → &Oslash; / &#xD8; / &#216; / CSS \00D8.

Frequently Asked Questions

Use &Oslash; (named), &#xD8; (hex), &#216; (decimal), type Ø directly in UTF-8, or the CSS escape \00D8 in content. Prefer &Oslash; in normal HTML.
U+00D8 (LATIN CAPITAL LETTER O WITH STROKE). Hex D8, decimal 216. It belongs to Latin-1 Supplement (U+0080–U+00FF).
Yes. Use &Oslash; (capital O). Numeric forms &#216; and &#xD8; also work. Note: &oslash; (lowercase) is a different letter (ø).
No. Ø is U+00D8 (&Oslash;, capital stroke). ø is U+00F8 (&oslash;). ∅ is the empty-set symbol (U+2205), not a letter.
Use it for Danish, Norwegian, Faroese, and other text that needs capital Ø — for example Øresund or Øst — not as a substitute for O or empty set ∅.
HTML entities (&Oslash;, &#216;, or &#xD8;) go in markup. The CSS escape \00D8 goes in stylesheet strings (usually content on ::before/::after).

Did you know?

Uppercase O slash is Unicode U+00D8 (decimal 216) — glyph Ø in Latin-1 Supplement (U+0080–U+00FF). HTML5 names it &Oslash; (capital O). Official name: LATIN CAPITAL LETTER O WITH STROKE. Lowercase is &oslash; (ø, U+00F8). Essential in Danish, Norwegian, and Faroese. Do not confuse with empty set ∅ (U+2205) or diameter sign ⌀ (U+2300).

Next: Uppercase O Stroke Acute

Learn the HTML entity for uppercase O with stroke and acute (U+01FE).

Continue tutorial →

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