HTML Entity for Horizontal Male Stroke Sign (⚩)

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

What Is Horizontal Male Stroke Sign?

Horizontal male stroke sign (⚩) is the Unicode character at U+26A9 in Miscellaneous Symbols. Official name: HORIZONTAL MALE WITH STROKE SIGN. It is a gender-related symbol glyph. Always show clear text beside it — do not rely on the symbol alone.

Remember
Character     ⚩
Unicode       U+26A9
Hex entity    ⚩
Decimal       ⚩
CSS escape    \26A9
Named entity  (none)
Meaning       horizontal male-with-stroke symbol
Not the same  ♂ (♂) · ⚨ · ⚦

Prefer ⚩ or ⚩ in HTML (no named form). You can also type ⚩ in a UTF-8 document. For the classic male sign, prefer ♂; for the vertical stroke sibling, see U+26A8.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entityNone—
Hex entity⚩HTML markup (preferred)
Decimal entity⚩HTML markup
Direct character⚩HTML text (UTF-8)
CSS escape\26A9Stylesheet content

When to Use Which

SituationUse
This specific Unicode glyph in content⚩ plus visible text or aria-label
Common male signMale sign — ♂ (♂)
Vertical male stroke siblingVertical male stroke sign — ⚨
Male with stroke (angled form)Male stroke sign — ⚦
Female signFemale sign — ♀ (♀)
Generated text via ::before / ::aftercontent: "\26A9" (still add accessible text)

Live Preview

Symbol alone, with a sample label, and next to related forms.

Glyph ⚩
Large glyph ⚩
Sample ⚩ Option label
Compared ⚩   ⚨   ⚦   ♂
With entities Hex: ⚩ | Decimal: ⚩

Complete HTML Example

One page that shows horizontal male stroke sign with hex, decimal, CSS escape, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

Four ways to display ⚩ in HTML and CSS.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Horizontal Male Stroke Sign (U+26A9) in HTML</title>
  <style>
    #point::after {
      content: "\26A9";
    }
  </style>
</head>
<body>
  <p>Built with Hex: &#x26A9;</p>
  <p>Built with Decimal: &#9897;</p>
  <p id="point">Built with CSS: </p>
  <p>Typed: ⚩</p>
  <p><span aria-label="Horizontal male with stroke sign">&#x26A9; Label</span></p>
  <p>Classic male: &male;</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: &#x26A9; inserts code point U+26A9 → ⚩.

2. Decimal: same code point as 9897 → &#9897;. Same visual as hex.

3. CSS: use \26A9 in content (not an HTML entity). #point::after appends ⚩.

4. Typed: paste ⚩ in a UTF-8 document when you need this glyph. Prefer aria-label or nearby prose so the meaning is clear to everyone.

Pitfalls & Tips

Common mistakes when working with horizontal male stroke sign.

Name

No named entity

There is no HTML5 named entity for U+26A9. Use &#x26A9; or &#9897;. Do not invent &malestroke;. Classic male sign uses &male;.

♂

Not &male;

&male; is ♂ (U+2642). Horizontal male stroke sign is ⚩. Related symbols — different glyphs.

⚨

Not the vertical form

Vertical male stroke sign is ⚨ (U+26A8). This page is the horizontal stroke form ⚩.

a11y

Never use the symbol alone

Screen readers may not announce ⚩ clearly. Prefer visible labels and aria-label for any UI option.

Font

Font coverage

Some fonts omit Miscellaneous Symbols. If ⚩ is missing, fall back to text or a font with U+26A9 coverage.

CSS vs HTML

Do not mix escapes

\26A9 belongs in CSS strings. &#x26A9; / &#9897; belong in HTML.

Semicolon

End references

Always finish entities with ; — write &#x26A9;, not &#x26A9.

Browser Support

Horizontal male stroke sign (U+26A9) and its entity forms (&#x26A9;, &#9897;, CSS \\26A9) are supported in all mainstream browsers. Visible glyphs depend on Miscellaneous Symbols font coverage.

✓ Universal support

Horizontal Male Stroke Sign (⚩)

Encode with 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+26A9 Full support

Bottom line: Prefer &#x26A9; in HTML (no named form). Use &#9897; when decimal form is required, and \\26A9 only inside CSS content. Always pair with accessible text.

Key Takeaways

  • Unicode: horizontal male stroke sign is U+26A9 (decimal 9897) — glyph ⚩.
  • HTML: no named entity — use &#x26A9; / &#9897; / type ⚩.
  • CSS: use \26A9 inside content for generated text.
  • Meaning: ⚩ ≠ &male; / ⚨ — always pair with accessible text.

One line: U+26A9 → &#x26A9; / &#9897; / CSS \26A9 (no named form).

Frequently Asked Questions

Use &#x26A9; (hex), &#9897; (decimal), type ⚩ directly in UTF-8, or the CSS escape \26A9 in content. There is no named HTML entity for U+26A9. Always add visible text or aria-label.
U+26A9 (HORIZONTAL MALE WITH STROKE SIGN). Hex 26A9, decimal 9897. It belongs to the Miscellaneous Symbols block (U+2600–U+26FF).
No. HTML5 does not define a named entity for this symbol. Prefer &#x26A9; or &#9897;. Classic male sign uses &male; (U+2642).
Use it only when you specifically need this Unicode glyph. Prefer clear text labels for forms and UI. For the common male sign, use &male;. For the vertical stroke sibling, see U+26A8.
HTML numeric entities (&#9897; or &#x26A9;) go in markup. The CSS escape \26A9 goes in stylesheet strings (usually content on ::before/::after).
No. Horizontal male stroke sign is U+26A9 (⚩). Male sign is U+2642 (♂ / &male;). Vertical male stroke sign is U+26A8 (⚨). Related symbols — different glyphs.

Did you know?

Horizontal male stroke sign is Unicode U+26A9 (decimal 9897) — glyph ⚩ in Miscellaneous Symbols (official name HORIZONTAL MALE WITH STROKE SIGN). There is no HTML5 named entity; use &#x26A9; or &#9897;. Always pair it with visible text or aria-label. Do not confuse it with classic &male; (♂) or the vertical form &#x26A8; (⚨).

Next: Horn

Learn the HTML entity for combining Horn (U+031B).

Horn tutorial →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

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