HTML Entity for Black Flag (⚑)

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

What You'll Learn

How to display Black Flag (⚑) in HTML and CSS. This character is U+2691 in the Miscellaneous Symbols block (U+2600–U+26FF), added in Unicode 4.0 (2003). It shows a black flag on a vertical pole—a classic map symbol for markers, checkpoints, and wayfinding.

There is no named HTML entity for U+2691. Use ⚑ or ⚑ in markup, or \2691 in stylesheet content. The symbol suits maps, navigation, gaming (race flags, finish lines), and location markers. Pair flag glyphs with visible text or aria-label when they convey meaning.

⚡ Quick Reference — Black Flag

Unicode U+2691

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+2691
Hex code       ⚑
HTML code      ⚑
Named entity   —
CSS code       \2691
1

Complete HTML Example

This example shows U+2691 using hexadecimal and decimal character references, plus a CSS content escape on a pseudo-element:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2691";
  }
 </style>
</head>
<body>
<p>Black Flag using Hexa Decimal: &#x2691;</p>
<p>Black Flag using HTML Code: &#9873;</p>
<p id="point">Black Flag using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+2691 is widely supported in modern browsers; dingbat artwork varies by typeface:

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

👀 Live Preview

See the glyph at different sizes and beside the related White Flag (font-dependent):

Large glyph
Map marker ⚑ Checkpoint 3 · ⚑ Finish line
Flag pair (U+2690–U+2691) ⚐ ⚑
Caption U+2691 is BLACK FLAG; U+2690 is WHITE FLAG in Miscellaneous Symbols.
Monospace refs &#x2691; &#9873; \2691

🧠 How It Works

1

Hexadecimal Code

&#x2691; references code point U+2691 using hex digits 2691 after the #x prefix.

HTML markup
2

Decimal HTML Code

&#9873; is the decimal equivalent (9873) for the same Black Flag character.

HTML markup
3

CSS Entity

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

CSS stylesheet
=

Same visual result

Hex, decimal, and CSS escapes all produce . There is no named HTML entity for U+2691.

Use Cases

The Black Flag (⚑) is commonly used for:

🗺 Map markers

Location pins, points of interest, and wayfinding on maps and navigation.

🏁 Gaming & racing

Race flags, finish lines, checkpoints, and game progress indicators.

📍 Checkpoints

Tour routes, trail markers, and sequential location indicators.

🎯 Navigation

Destination markers, route indicators, and directional cues.

🎨 Decorative design

Lists, headers, and thematic accents in web and print design.

📋 List markers

Alternative list markers and emphasis indicators in content.

♿ Accessibility

Pair ⚑ with text or ARIA (e.g. “Checkpoint” or “Location”).

💡 Best Practices

Do

  • Use hex or decimal consistently—there is no named entity for U+2691
  • Pair ⚑ with clear text when it marks a checkpoint, location, or finish
  • Scale with font-size so the flag fits your layout
  • Choose fonts that support Miscellaneous Symbols (U+2600–U+26FF)
  • Use \2691 only inside CSS content, not inside HTML text nodes
  • Add aria-label or title (e.g. “Checkpoint” or “Finish”) for screen readers

Don’t

  • Confuse U+2691 (black flag) with U+2690 (white flag) or other flag glyphs
  • Rely on ⚑ alone to communicate meaning in critical UI
  • Assume every font renders Miscellaneous Symbols crisply at small sizes
  • Use flag glyphs as the only cue for location or safety-critical navigation
  • Mix CSS escapes into HTML text nodes (use numeric refs in markup)

Key Takeaways

1

Two numeric references render the same glyph

&#x2691; &#9873;
2

CSS content escape

\2691
3

U+2691 is BLACK FLAG; pairs with White Flag U+2690

4

Miscellaneous Symbols block U+2600–U+26FF; no named HTML entity

5

Pair flag glyphs with text or ARIA when meaning must be clear

❓ Frequently Asked Questions

Use &#x2691; (hex), &#9873; (decimal), or \2691 in CSS content. There is no named entity; all valid methods render ⚑.
U+2691 (hex 2691, decimal 9873). Miscellaneous Symbols (U+2600–U+26FF). Unicode name BLACK FLAG.
For map markers, wayfinding, checkpoints, gaming, location indicators, navigation, and decorative design.
Numeric references belong in HTML. The \2691 escape belongs in stylesheets (for example on pseudo-elements). Do not paste CSS escapes into HTML text nodes.
No. Use &#x2691;, &#9873;, or \2691 in CSS depending on whether you are authoring markup or styles.

Explore More HTML Entities!

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