HTML Entity for Coffin (⚰)

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

What You'll Learn

How to display the Coffin (⚰) symbol in HTML and CSS. This character is U+26B0 (COFFIN) in the Miscellaneous Symbols block (U+2600–U+26FF). It appears in gothic design, Halloween content, memorial pages, and thematic web projects.

There is no named HTML entity for U+26B0. Use ⚰ or ⚰ in markup, or \26B0 in stylesheet content. Do not confuse ⚰ with Funeral Urn U+26B1 (⚱), the skull emoji U+1F480, or the cross mark U+274C.

⚡ Quick Reference — Coffin

Unicode U+26B0

Miscellaneous Symbols (U+2600–U+26FF)

Hex Code ⚰

Hexadecimal reference

HTML Code ⚰

Decimal reference

Named Entity

None (use numeric refs)

Reference Table
Name           Value
────────────   ──────────
Unicode        U+26B0
Hex code       ⚰
HTML code      ⚰
Named entity   —
CSS code       \26B0
1

Complete HTML Example

This example shows U+26B0 using hexadecimal and decimal character references, plus a CSS content escape. There is no named HTML entity:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\26B0";
  }
 </style>
</head>
<body>
<p>Coffin using Hexa Decimal: &#x26B0;</p>
<p>Coffin using HTML Code: &#9904;</p>
<p id="point">Coffin using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+26B0 is supported in modern browsers; glyph appearance may vary by font:

Chrome 1+
Firefox 1+
Safari 3.1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 3.2+

👀 Live Preview

See the Coffin symbol in thematic contexts:

Halloween ⚰ Spooky Night   ⚰ Haunted House
Memorial In loving memory ⚰
Large glyph
vs related symbols Coffin: ⚰ (U+26B0)   Funeral Urn: ⚱ (U+26B1)   Cloud: ☁ (U+2601)
Monospace refs &#x26B0; &#9904; \26B0

🧠 How It Works

1

Hexadecimal Code

&#x26B0; references code point U+26B0 using hex digits 26B0.

HTML markup
2

Decimal HTML Code

&#9904; is the decimal equivalent (9904) for the same character.

HTML markup
3

CSS Entity

\26B0 is the CSS escape for U+26B0, used in the content property of ::before or ::after.

CSS stylesheet
=

Same visual result

All three methods produce the Coffin glyph: . Unicode U+26B0 sits in Miscellaneous Symbols (U+2600–U+26FF). No named HTML entity exists.

Use Cases

The Coffin symbol (⚰) commonly appears in:

🎃 Halloween

Seasonal websites, event pages, and Halloween marketing content.

🖤 Gothic design

Dark-themed layouts, alternative aesthetics, and creative projects.

🕯️ Memorial pages

Respectful use in obituaries, condolence sites, and remembrance content.

🎮 Games & entertainment

Horror-themed game UI, story content, and interactive fiction.

📖 Creative writing

Horror, mystery, and thematic fiction or poetry sites.

🔤 Symbol references

Unicode tables and Miscellaneous Symbols glossaries.

♿ Accessibility

Provide alt text or aria-label="coffin" when the symbol carries meaning.

💡 Best Practices

Do

  • Use &#x26B0; or &#9904; consistently in HTML
  • Match tone to context—respectful on memorial pages, thematic on Halloween sites
  • Provide text alternatives or aria-label for meaningful icon uses
  • Choose fonts that support Miscellaneous Symbols (Segoe UI Symbol, Noto Sans Symbols)
  • Use \26B0 only inside CSS content, not in HTML text nodes

Don’t

  • Confuse U+26B0 (⚰) with Funeral Urn U+26B1 (⚱) or skull emoji U+1F480
  • Use U+026B0 notation—the correct code point is U+26B0
  • Use the symbol casually on sensitive memorial or obituary content
  • Assume a named entity exists—U+26B0 has none
  • Mix hex and decimal styles randomly in one file

Key Takeaways

1

No named entity—use numeric references

&#x26B0; &#9904;
2

For CSS stylesheets, use the escape in the content property

\26B0
3

U+26B0 COFFIN

4

Gothic, Halloween, memorial, and thematic design symbol

5

Three methods, one glyph — widely supported in modern browsers

❓ Frequently Asked Questions

Use &#x26B0; (hex), &#9904; (decimal), or \26B0 in CSS content. There is no named HTML entity for U+26B0.
U+26B0 (COFFIN). Miscellaneous Symbols (U+2600–U+26FF). Hex 26B0, decimal 9904.
In gothic and Halloween-themed design, memorial and obituary pages, games and entertainment content, and any web page requiring this symbolic character without image files.
Numeric references (&#9904; or &#x26B0;) go directly in HTML markup. The CSS escape \26B0 is used in stylesheets, typically in the content property of pseudo-elements.
Named HTML entities cover commonly used characters; symbols like U+26B0 in Miscellaneous Symbols use numeric codes. This is standard for many symbol characters in HTML.

Explore More HTML Entities!

Discover 1500+ HTML character references — math operators, symbols, arrows, 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