HTML Entity for Skull and Crossbones (☠)

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

What You'll Learn

How to display Skull and Crossbones (☠) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+2620 (SKULL AND CROSSBONES) in the Miscellaneous Symbols block (U+2600–U+26FF)—a classic warning and hazard symbol used for danger signs, pirate themes, Halloween content, and safety messaging.

Render it with ☠, ☠, or CSS \2620. There is no named HTML entity. Do not confuse ☠ with the skull emoji U+1F480 or related symbols like Coffin U+26B0 (⚰).

⚡ Quick Reference — Skull and Crossbones

Unicode U+2620

Miscellaneous Symbols

Hex Code ☠

Hexadecimal reference

HTML Code ☠

Decimal reference

Named Entity

Use numeric codes only

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2620
Hex code       ☠
HTML code      ☠
Named entity   (none)
CSS code       \2620
Official name  Skull and crossbones
Not the same   U+1F480 = skull emoji
               U+26B0 = ⚰ (coffin)
Block          Miscellaneous Symbols (U+2600–U+26FF)
1

Complete HTML Example

A simple example showing ☠ using hexadecimal code, decimal HTML code, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\2620";
  }
 </style>
</head>
<body>
<p>Warning (hex): &#x2620; Danger</p>
<p>Warning (decimal): &#9760; Hazard</p>
<p id="point">Warning (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

Skull and Crossbones (☠) is supported in modern browsers when fonts include Miscellaneous Symbols glyphs:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See skull and crossbones in warning and themed contexts:

Single symbol
Danger warning ☠ Danger — Keep Out
Pirate theme ☠ Pirate Treasure Map
Halloween ☠ Spooky Season Sale
Numeric refs &#x2620; &#9760; \2620

🧠 How It Works

1

Hexadecimal Code

&#x2620; uses Unicode hexadecimal 2620 to display skull and crossbones.

HTML markup
2

Decimal HTML Code

&#9760; uses decimal Unicode value 9760 for the same character.

HTML markup
3

CSS Entity

\2620 is used in CSS stylesheets in the content property of pseudo-elements for warning markers.

CSS stylesheet
=

Warning symbol result

All three methods produce . Unicode U+2620 in Miscellaneous Symbols. No named entity. Next: Slash.

Use Cases

Skull and Crossbones (☠) commonly appears in:

⚠️ Warnings

Danger alerts, hazard notices, and safety messaging.

🏴 Pirate themes

Games, nautical content, and pirate-themed web design.

🎃 Halloween

Seasonal promotions, spooky events, and festive pages.

🛡️ Safety labels

Caution indicators and hazard-style UI accents.

🎨 Creative design

Decorative accents in artistic and themed layouts.

📖 Symbol guides

Miscellaneous Symbols and HTML entity reference docs.

💡 Best Practices

Do

  • Use &#x2620; or &#9760; in HTML markup
  • Pair ☠ with clear warning text for accessibility
  • Add aria-label when the symbol conveys hazard meaning
  • Use CSS content: "\2620" for reusable warning components
  • Test rendering across browsers and fonts

Don’t

  • Use U+02620 or CSS \02620—the correct value is U+2620 and \2620
  • Rely on ☠ alone for critical safety warnings without text
  • Confuse U+2620 with the skull emoji (U+1F480)
  • Expect a named HTML entity for U+2620
  • Put CSS escape \2620 in HTML text nodes

Key Takeaways

1

Three ways to render U+2620 in HTML and CSS

&#x2620; &#9760;
2

For CSS stylesheets, use \2620 in the content property

3

Unicode U+2620 — SKULL AND CROSSBONES

4

No named entity—always pair with clear text for warnings

❓ Frequently Asked Questions

Use &#x2620; (hex), &#9760; (decimal), or \2620 in CSS content. There is no named HTML entity. All three render ☠.
U+2620 (SKULL AND CROSSBONES). Miscellaneous Symbols (U+2600–U+26FF). Hex 2620, decimal 9760.
No. Use numeric references &#x2620; or &#9760; in HTML, or CSS escape \2620 in stylesheets.
For warnings, danger signs, pirate themes, Halloween content, safety indicators, and decorative hazard-style messaging—always with clear accompanying text.
HTML code (&#9760; or &#x2620;) is used directly in HTML content. CSS entity \2620 is used in stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

Explore More HTML Entities!

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