HTML Entity for Lowercase O Slash (ø)

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

What Is the Lowercase O Slash Entity?

Lowercase o with stroke (ø) is the Unicode character at U+00F8 in Latin-1 Supplement. Official name: LATIN SMALL LETTER O WITH STROKE — the letter o with a diagonal stroke. Essential in Danish, Norwegian, and Faroese. HTML5 defines the named entity ø.

Remember
Character     ø
Unicode       U+00F8
Named entity  ø
Hex entity    ø
Decimal       ø
CSS escape    \00F8
Capital       Ø (Ø)
Not the same  o · ∅ (empty set) · ǿ (stroke + acute)

Prefer ø in HTML. Alternatives: ø, ø, or type ø in a UTF-8 document.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entityøHTML markup (preferred)
Hex entityøHTML markup
Decimal entityøHTML markup
Direct characterøHTML text (UTF-8)
CSS escape\00F8Stylesheet content

When to Use Which

SituationUse
Readable HTML for øø
Danish / Norwegian / Faroeseø (e.g. København, smør)
Ordinary letter oType o (U+006F) — not ø
Uppercase O with strokeØ — see Uppercase O Slash
O with stroke and acute (ǿ)See O Stroke Acute
Empty set / diameter look-alikes∅ / ⌀ — not ø
Generated text via ::before / ::aftercontent: "\00F8"

Live Preview

Glyph alone, in Nordic samples, and next to related forms.

Glyph ø
Large glyph ø
Danish sample København, smør, børn
Compared ø   o   Ø   ǿ   ∅
With entities Named: ø | Hex: ø | Decimal: ø

Complete HTML Example

One page that shows ø 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 display ø in HTML and CSS.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Lowercase O Slash (ø) in HTML</title>
  <style>
    #point::after {
      content: "\00F8";
    }
  </style>
</head>
<body>
  <p>Built with Named: &oslash;</p>
  <p>Built with Hex: &#xF8;</p>
  <p>Built with Decimal: &#248;</p>
  <p id="point">Built with CSS: </p>
  <p>Typed: ø</p>
  <p lang="da">Danish: K&oslash;benhavn, sm&oslash;r</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &oslash; is the HTML5 name for U+00F8 → ø. Prefer this in markup.

2. Hex: &#xF8; inserts the same code point. Same visual as named.

3. Decimal: same code point as 248 → &#248;.

4. CSS: use \00F8 in content (not an HTML entity). #point::after appends ø.

5. Typed + sample: paste ø in UTF-8, or use &oslash; in Danish words like København.

Pitfalls & Tips

Common mistakes when working with lowercase o with stroke.

Name

Prefer &oslash;

The named entity is clearer than inventing names — use &oslash; for U+00F8 in HTML.

Case

&oslash; ≠ &Oslash;

Named entities are case-sensitive. Lowercase is ø; uppercase is Ø.

∅

Not empty set

∅ (U+2205) is the empty-set symbol. ø is a Nordic letter — do not swap them in math vs language text.

ǿ

Not stroke + acute

ǿ (U+01FF) adds an acute on top of the stroke. See O Stroke Acute when that form is required.

CSS

Pad the CSS escape

Prefer \00F8 (four hex digits). A short \F8 can swallow the next hex digit if one follows immediately.

CSS vs HTML

Do not mix escapes

\00F8 belongs in CSS strings. &oslash; / &#xF8; / &#248; belong in HTML.

Semicolon

End references

Always finish entities with ; — write &oslash;, not &oslash.

Browser Support

Lowercase o with stroke (U+00F8) and its entity forms (&oslash;, &#xF8;, &#248;, CSS \\00F8) are supported in all mainstream browsers. Visible glyphs depend on Latin-1 / Western European font coverage.

✓ Universal support

Lowercase O Slash (&#x00F8;)

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+00F8 Full support

Bottom line: Prefer &oslash; in HTML. Use &#xF8; / &#248; when numeric form is required, and \\00F8 only inside CSS content.

Key Takeaways

  • Unicode: lowercase o with stroke is U+00F8 (decimal 248) — glyph ø.
  • HTML: prefer &oslash; — also &#xF8; / &#248; / type ø.
  • CSS: use \00F8 inside content for generated text.
  • Watch out: &oslash; ≠ &Oslash; ≠ ∅ ≠ ǿ.

One line: U+00F8 → &oslash; / &#xF8; / &#248; / CSS \00F8.

Frequently Asked Questions

Prefer &oslash; (named). You can also use &#xF8; (hex), &#248; (decimal), type ø in UTF-8, or the CSS escape \00F8 in content.
U+00F8 (LATIN SMALL LETTER O WITH STROKE). Hex F8, decimal 248. It belongs to Latin-1 Supplement (U+0080–U+00FF). The page title says “slash,” but Unicode names the mark a stroke through o.
Yes. HTML5 defines &oslash; for ø. The capital form is &Oslash; (Ø, U+00D8) — names are case-sensitive.
Use it for Danish, Norwegian, and Faroese text (København, smør, børn). Prefer &oslash; in HTML. Do not confuse it with empty set ∅ or diameter ⌀.
HTML entities (&oslash;, &#248;, or &#xF8;) go in markup. The CSS escape \00F8 goes in stylesheet strings (usually content on ::before/::after).
No. ø (U+00F8) is lowercase; Ø (U+00D8, &Oslash;) is uppercase. Empty set ∅ is U+2205. O with stroke and acute ǿ is U+01FF — a different letter.

Did you know?

Lowercase o with stroke is Unicode U+00F8 (decimal 248) — LATIN SMALL LETTER O WITH STROKE in Latin-1 Supplement. HTML5 provides &oslash; — the most readable form. Capital is &Oslash; (Ø, U+00D8). Essential for Danish, Norwegian, and Faroese (e.g. København, smør).

Next: Lowercase O Stroke Acute

Learn the HTML entity for o with stroke and acute (ǿ).

Lowercase O stroke acute 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