HTML Entity for Empty Set (∅)

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

What Is Empty Set?

Empty set (∅) is the Unicode character at U+2205 in Mathematical Operators. Official name: EMPTY SET. It denotes a set with no elements — read “the empty set,” as in A = ∅.

Remember
Character     ∅
Unicode       U+2205
Named entity  ∅
Aliases       ∅ · ∅
Hex entity    ∅
Decimal       ∅
CSS escape    \2205
Not the same  Ø (Oslash) · {} · 0

Prefer ∅ in HTML markup. You can also use ∅ / ∅, 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)
Named aliases∅ · ∅Same glyph as ∅
Hex entity∅HTML markup
Decimal entity∅HTML markup
Direct character∅HTML text (UTF-8)
CSS escape\2205Stylesheet content

When to Use Which

SituationUse
Empty set / null set∅ or type ∅
Element of / membershipU+2208 (∈, ∈)
Not an element ofU+2209 (∉, ∉)
Subset relationSubset of (⊂)
Generated text via ::before / ::aftercontent: "\2205"

Live Preview

Empty set rendered alone, in a set equation, and compared with related symbols.

Glyph ∅
Large glyph ∅
Equation A = ∅
Compared ∅   ∈   ∉   Ø
With entities Named: ∅ | Hex: ∅ | Decimal: ∅

Complete HTML Example

One page that shows Empty Set 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>Empty Set (U+2205) in HTML</title>
  <style>
    #point::after {
      content: "\2205";
    }
  </style>
</head>
<body>
  <p>Built with Named: &empty;</p>
  <p>Built with Hex: &#x2205;</p>
  <p>Built with Decimal: &#8709;</p>
  <p id="point">Built with CSS: </p>
  <p>Typed: ∅</p>
  <p>Equation: A = &empty;</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &empty; is the preferred HTML5 name for U+2205 → ∅.

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

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

4. CSS: use \2205 in content (not an HTML entity). #point::after appends ∅.

5. Typed: paste ∅ in a UTF-8 document, or write an equation like A = &empty;.

Pitfalls & Tips

Common mistakes when working with Empty Set.

Name

Prefer &empty;

&empty; is the clearest named form. &emptyset; and &varnothing; are valid aliases for the same glyph.

Ø

Not Latin O with stroke

&Oslash; (Ø, U+00D8) looks similar but is a letter, not the empty-set operator. Prefer &empty; in math.

{}

Braces are notation, not the glyph

Writing {} can mean an empty set in set-builder syntax, but it is not Unicode U+2205. Use &empty; for the ∅ symbol.

CSS vs HTML

Do not mix escapes

\2205 belongs in CSS strings. &empty; / &#x2205; / &#8709; belong in HTML.

Fonts

Math font coverage

Some fonts omit Mathematical Operators. Prefer a font with solid math coverage for set notation.

a11y

Add accessible text

Screen readers may not expand ∅ clearly. Prefer full phrases nearby (for example “A equals the empty set”) when the meaning matters.

Semicolon

End references

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

Browser Support

Empty set (U+2205) and its entity forms (&empty;, &#x2205;, &#8709;, CSS \\2205) are supported in all mainstream browsers. Visible glyphs depend on Mathematical Operators font coverage.

✓ Universal support

Empty Set (&#x2205;)

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+2205 / &empty; Full support

Bottom line: Prefer &empty; in HTML. Use &#x2205; / &#8709; when numeric form is required, and \\2205 only inside CSS content.

Key Takeaways

  • Unicode: empty set is U+2205 (decimal 8709) — glyph ∅.
  • HTML: prefer &empty; (aliases &emptyset;, &varnothing;).
  • CSS: use \2205 inside content for generated text.
  • Meaning: ∅ ≠ Ø (Oslash) ≠ {} ≠ 0.

One line: U+2205 → &empty; / &#x2205; / CSS \2205.

Frequently Asked Questions

Use &empty; (named), &#x2205; (hex), &#8709; (decimal), type ∅ directly in UTF-8, or the CSS escape \2205 in content. Aliases &emptyset; and &varnothing; also resolve to U+2205.
U+2205 (EMPTY SET). Hex 2205, decimal 8709. It belongs to the Mathematical Operators block (U+2200–U+22FF).
Yes. &empty; is the preferred readable named entity for U+2205. &emptyset; and &varnothing; are valid HTML5 aliases for the same character.
Use it for the empty set in math, logic, and CS docs (for example A = ∅). Prefer prose like “the empty set” nearby when accessibility matters. Do not use Ø (O with stroke) or 0 as a substitute.
HTML entities (&empty;, &#8709;, or &#x2205;) go in markup. The CSS escape \2205 goes in stylesheet strings (usually content on ::before/::after).
No. U+2205 is ∅ (empty set). U+00D8 is Ø (Latin capital O with stroke). {} can write an empty set in set-builder notation, but it is not the same Unicode character.

Did you know?

Empty set is Unicode U+2205 (decimal 8709) — glyph ∅ (EMPTY SET) in Mathematical Operators. HTML5 names it &empty; (aliases &emptyset;, &varnothing;). It denotes a set with no elements. Do not confuse it with Latin &Oslash; (Ø) or a typed zero.

Next: En Dash

Learn the HTML entity for en dash (U+2013).

En Dash 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