HTML Entity for Male Stroke Sign (⚦)

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

What You'll Learn

How to display the male with stroke sign (⚦) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+26A6 (MALE WITH STROKE SIGN) in the Miscellaneous Symbols block (U+2600–U+26FF)—a gender-related symbol distinct from the plain male sign (♂) and the combined male stroke male female sign (⚧).

Render it with ⚦, ⚦, or CSS escape \26A6. There is no named HTML entity for U+26A6. Always pair the symbol with accessible text in forms and UI.

⚡ Quick Reference — Male Stroke Sign

Unicode U+26A6

Miscellaneous Symbols block

Hex Code ⚦

Hexadecimal reference

HTML Code ⚦

Decimal reference

Named Entity

Use numeric codes only

Reference Table
Name           Value
────────────   ──────────
Unicode        U+26A6
Hex code       ⚦
HTML code      ⚦
Named entity   (none)
CSS code       \26A6
Related        U+2642 = male (♂); U+26A7 = male stroke male female (⚧)
1

Complete HTML Example

This example demonstrates the male stroke sign (⚦) using hexadecimal code, decimal HTML code, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\26A6";
  }
 </style>
</head>
<body>
<p>Male Stroke Sign using Hexadecimal: &#x26A6;</p>
<p>Male Stroke Sign using HTML Code: &#9894;</p>
<p id="point">Male Stroke Sign using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+26A6 is supported in all modern browsers when rendered with a Unicode-capable font:

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

👀 Live Preview

See the male stroke sign (⚦) alongside related gender symbols:

Inline text Symbol: ⚦ Male with stroke
Large glyph
Related symbols ♂ male   ⚦ male stroke   ⚧ male stroke male female
In a label
Numeric refs &#x26A6; &#9894;

🧠 How It Works

1

Hexadecimal Code

&#x26A6; uses the Unicode hexadecimal value 26A6 to display the male stroke sign. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#9894; uses the decimal Unicode value 9894 to display the same character.

HTML markup
3

CSS Entity

\26A6 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All three methods produce: . Unicode U+26A6 sits in the Miscellaneous Symbols block (U+2600–U+26FF). No named HTML entity—use numeric codes in markup.

Use Cases

The male stroke sign (⚦) is commonly used in:

📄 Forms & UI

Inclusive gender options in registration and profile forms with text labels.

🌐 Inclusive design

Content representing diverse gender identities with appropriate context.

🎓 Education

Unicode and gender-symbol reference materials for students and developers.

🏥 Medical content

Healthcare and biology pages using standard Unicode gender symbols.

🔍 Scientific notation

Research papers and datasets referencing Unicode symbol standards.

📝 Reference guides

HTML entity tutorials, Unicode charts, and symbol dictionaries.

💡 Best Practices

Do

  • Pair ⚦ with clear, accessible text labels
  • Use &#x26A6; or &#9894; consistently per project
  • Add aria-label when the symbol stands alone
  • Distinguish U+26A6 from ♂ (male) and ⚧ (male stroke male female)
  • Test glyph rendering across browsers and fonts

Don’t

  • Rely on the symbol alone for critical gender selection
  • Confuse ⚦ with ♂, ⚥, or ⚧
  • Expect a named entity—none exists for U+26A6
  • Put CSS escape \26A6 in HTML text nodes
  • Use padded Unicode notation like U+026A6—the correct value is U+26A6

Key Takeaways

1

Two HTML numeric references render ⚦

&#x26A6; &#9894;
2

For CSS stylesheets, use the escape in the content property

\26A6
3

Unicode U+26A6 — MALE WITH STROKE SIGN

4

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

5

Distinct from ♂ and ⚧—verify the correct symbol for your use case

❓ Frequently Asked Questions

Use &#x26A6; (hex), &#9894; (decimal), or \26A6 in CSS content. All produce ⚦. There is no named entity.
U+26A6 (MALE WITH STROKE SIGN). Miscellaneous Symbols block (U+2600–U+26FF). Hex 26A6, decimal 9894.
In inclusive gender-related UI, Unicode reference content, medical or scientific notation, and symbol guides where U+26A6 is specifically required. Always include accessible text alongside the symbol.
HTML references (&#9894; or &#x26A6;) go directly in markup. The CSS escape \26A6 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.
No. ⚦ is U+26A6 (male with stroke). ♂ is U+2642 (male sign) and ⚧ is U+26A7 (male with stroke and male and female sign). Each is a separate Unicode character with its own HTML references.

Explore More HTML Entities!

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