HTML Entity for Coffin (⚰)

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

What Is the Coffin Entity?

Coffin (⚰) is the Unicode character at U+26B0 in the Miscellaneous Symbols block (official name: COFFIN). It is a symbolic glyph used in Halloween, gothic, or memorial contexts — use it carefully and respectfully.

Remember
Character     ⚰
Unicode       U+26B0
Hex entity    ⚰
Decimal       ⚰
Named entity  (none)
CSS escape    \26B0

All of these produce the same glyph: ⚰. Prefer a typed ⚰ or hex ⚰ in hand-written HTML; use decimal when generating numeric-only markup.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character⚰HTML text (UTF-8)
Hex entity⚰HTML markup
Decimal entity⚰HTML markup
CSS escape\26B0Stylesheet content
Named entitynoneUse hex or decimal instead

When to Use Which

SituationUse
Hand-written HTMLType ⚰ or use ⚰
Generated / numeric-only markup⚰ or ⚰
Generated text via ::before / ::aftercontent: "\26B0"
Funeral urn symbol⚱ U+26B1
Sensitive memorial copyPrefer clear text; use the glyph only when appropriate

Live Preview

Coffin rendered in common writing contexts.

Inline text ⚰ Symbol
Large glyph ⚰
Compared ⚰   ⚱
Monospace mark: ⚰
With entities Hex: ⚰ | Decimal: ⚰

Complete HTML Example

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

Hex + Decimal + CSS + Typed

Four ways to produce ⚰ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Coffin (⚰) in HTML</title>
  <style>
    #point::after {
      content: "\26B0";
    }
  </style>
</head>
<body>
  <p>Coffin using Hex Code: &#x26B0;</p>
  <p>Coffin using HTML Code: &#9904;</p>
  <p id="point">Coffin using CSS Entity: </p>
  <p>Typed directly: ⚰</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+26B0 → &#x26B0; in HTML. The browser turns it into ⚰.

2. Decimal: same code point as 9904 → &#9904;. Same result as hex.

3. CSS: use \26B0 in content (not an HTML entity). #point::after appends that ⚰ after the paragraph text.

4. Typed ⚰: fine in UTF-8 pages. All four lines show the same glyph.

Pitfalls & Tips

Common mistakes when working with Coffin entities.

Named?

No named entity

HTML5 does not define a named reference for U+26B0. Use &#x26B0; or &#9904;.

CSS vs HTML

Do not mix escapes

\26B0 belongs in CSS. &#x26B0; / &#9904; belong in HTML.

⚰ vs ⚱

Different characters

⚰ is U+26B0. Funeral urn ⚱ is U+26B1.

A11y

Do not rely on the glyph alone

Pair ⚰ with text (or an accessible name). On memorial pages, prefer clear wording over symbol-only meaning.

Semicolon

End references

Always finish with ; — write &#9904;, not &#9904.

Fonts

Coverage varies

Some fonts lack ⚰. If it falls back to a box, try a font with broader Miscellaneous Symbols coverage.

Browser Support

Coffin (U+26B0) and its entity forms (&#x26B0;, &#9904;, CSS \\26B0) are supported in all mainstream browsers that handle Unicode. Glyph availability depends on fonts.

✓ Universal support

Coffin (⚰)

Type ⚰, or encode with hex, decimal, or CSS escape — same glyph everywhere encoding and fonts support it.

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+26B0 / entities Full support

Bottom line: Prefer &#x26B0; or a typed ⚰ when you need this glyph. Use decimal when generating markup, and \\26B0 only inside CSS content.

Key Takeaways

  • Unicode: coffin is U+26B0 (decimal 9904).
  • HTML: use &#x26B0; or &#9904; (no named entity).
  • CSS: use \26B0 inside content for generated text.
  • Watch out: ⚰ ≠ ⚱ (coffin ≠ funeral urn).

One line: U+26B0 → &#x26B0; / &#9904; / CSS \26B0.

Frequently Asked Questions

Use &#x26B0; (hex), &#9904; (decimal), or the CSS escape \26B0 in the content property. All render ⚰. You can also paste ⚰ directly when your file is UTF-8. There is no named HTML entity.
U+26B0 (hex 26B0, decimal 9904). Unicode names it COFFIN. It belongs to the Miscellaneous Symbols block.
No. HTML5 does not define a named entity for ⚰. Use numeric references like &#x26B0; or &#9904;.
Use it sparingly for Halloween, gothic, or memorial contexts where this exact glyph is needed. Prefer clear text labels for sensitive memorial pages, and SVG when you need precise icon design.
HTML entities (&#9904; or &#x26B0;) go in markup. The CSS escape \26B0 goes in stylesheet strings (usually content on ::before/::after).
⚰ (U+26B0) is COFFIN. ⚱ (U+26B1) is FUNERAL URN — a related but different memorial symbol with its own code point.

Did you know?

Coffin is Unicode U+26B0 (decimal 9904) — official name COFFIN in the Miscellaneous Symbols block. HTML5 has no named entity. It is not the funeral urn (U+26B1 ⚱).

Next: Colon

Learn the HTML entity for colon (:).

Colon 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