HTML Entity for Male Stroke Male Female Sign (⚧)

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

What You'll Learn

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

Render it with ⚧, ⚧, or CSS escape \26A7. There is no named HTML entity for U+26A7. Do not confuse ⚧ with ♂ (male), ⚥ (male and female), or ⚦ (male with stroke).

⚡ Quick Reference — Male Stroke Male Female Sign

Unicode U+26A7

Miscellaneous Symbols block

Hex Code ⚧

Hexadecimal reference

HTML Code ⚧

Decimal reference

Named Entity

Use numeric codes only

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

Complete HTML Example

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

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

🌐 Browser Support

U+26A7 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 male female sign (⚧) alongside related gender symbols:

Inline text Symbol: ⚧ Male with stroke and male and female
Large glyph
Related symbols ♂ ♀ ⚥ ⚦ ⚧
In a label
Numeric refs &#x26A7; &#9895;

🧠 How It Works

1

Hexadecimal Code

&#x26A7; uses the Unicode hexadecimal value 26A7 to display the symbol. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

CSS Entity

\26A7 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+26A7 sits in the Miscellaneous Symbols block (U+2600–U+26FF). No named HTML entity—use numeric codes in markup.

Use Cases

The male stroke male female 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 &#x26A7; or &#9895; consistently per project
  • Add aria-label when the symbol stands alone
  • Distinguish U+26A7 from related gender symbols (♂, ⚥, ⚦)
  • 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+26A7
  • Put CSS escape \26A7 in HTML text nodes
  • Use padded Unicode notation like U+026A7—the correct value is U+26A7

Key Takeaways

1

Two HTML numeric references render ⚧

&#x26A7; &#9895;
2

For CSS stylesheets, use the escape in the content property

\26A7
3

Unicode U+26A7 — MALE WITH STROKE AND MALE AND FEMALE SIGN

4

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

5

Distinct from ♂, ⚥, and ⚦—each gender symbol has its own code point

❓ Frequently Asked Questions

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

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