HTML Entity for Lowercase O Slash (ø)

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

What You'll Learn

How to display the lowercase o with stroke (ø) in HTML using named entity, hexadecimal, decimal, and CSS escape methods. This character is U+00F8 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 \00F8. 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 — Lowercase O Slash Entity

Unicode U+00F8

Latin-1 Supplement

Hex Code ø

Hexadecimal reference

HTML Code ø

Decimal reference

Named Entity ø

HTML5 named entity

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

Complete HTML Example

A simple example showing the lowercase 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: "\00F8";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x00F8;</p>
<p>Symbol (decimal): &#248;</p>
<p>Symbol (named): &oslash;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

The lowercase 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 lowercase o slash (ø) in Scandinavian language contexts:

Large glyphø
DanishKøbenhavn  |  smør  |  børn
Norwegiansøster  |  følge  |  øl
Named entity&oslash; renders as ø
UppercaseØ (U+00D8) — use &Oslash;
Not the same asö (diaeresis)  |  ô (circumflex)  |  ∅ (empty set)
Numeric refs&#x00F8; &#248; &oslash; \00F8

🧠 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

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

HTML markup
3

Decimal HTML Code

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

HTML markup
4

CSS Entity

\00F8 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+00F8 sits in Latin-1 Supplement. Uppercase equivalent: U+00D8 (Ø, &Oslash;). Do not confuse with ö (diaeresis), ô (circumflex), or ∅ (empty set).

Use Cases

The lowercase o slash (ø) is commonly used in:

🇩🇰 Danish

Essential for correct spelling (København, smør, børn). ø is a distinct letter in the Danish alphabet.

🇳🇴 Norwegian

Used in Norwegian Bokmål and Nynorsk (søster, følge, øl). Correct characters support proper Nordic localization.

🇬🇷 Faroese

Used in Faroese orthography alongside other Nordic letters. 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 place names containing ø (e.g. København, Søren).

♿ Accessibility

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

⚙ Programmatic HTML

When generating markup, &oslash; or &#248; guarantees correct Scandinavian letter output.

💡 Best Practices

Do

  • Use U+00F8 (ø) 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
  • Put CSS escape \00F8 in HTML text nodes
  • Drop the stroke in Danish or Norwegian words (e.g. writing smor instead of smør)
  • Mix entity styles inconsistently within the same project

Key Takeaways

1

Four references render ø; named entity is &oslash;

&oslash; &#x00F8; &#248;
2

For CSS stylesheets, use the escape in the content property

\00F8
3

Unicode U+00F8 — LATIN SMALL LETTER O WITH STROKE

4

Danish, Norwegian, Faroese; uppercase is Ø (&Oslash;)

❓ Frequently Asked Questions

Use the named entity &oslash;, hexadecimal &#x00F8;, decimal &#248;, or \00F8 in CSS content. The named entity is the most readable. In UTF-8 you can also type ø directly.
U+00F8 (LATIN SMALL LETTER O WITH STROKE). Latin-1 Supplement block. Hex 00F8, decimal 248. Used in Danish, Norwegian, and Faroese. Uppercase form is U+00D8 (Ø, &Oslash;).
When displaying Danish, Norwegian, or Faroese text, Scandinavian place names and personal names, multilingual websites, and any content that requires the letter o with stroke.
Yes. The named HTML entity for ø is &oslash;. You can also use &#x00F8;, &#248;, or the CSS entity \00F8. In UTF-8 pages you can type ø directly.
ø (U+00F8) is o with stroke, used in Danish and Norwegian. ö (U+00F6) is o with diaeresis, used in German, Swedish, and other languages. They are different letters with different pronunciations—use the one that matches your language.

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