HTML Entity for Male Female Sign (⚥)

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

What You'll Learn

How to display the male and female sign (⚥) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+26A5 (MALE AND FEMALE SIGN) in the Miscellaneous Symbols block (U+2600–U+26FF)—a single combined gender symbol, not separate male (♂) and female (♀) glyphs.

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

⚡ Quick Reference — Male Female Sign

Unicode U+26A5

Miscellaneous Symbols block

Hex Code ⚥

Hexadecimal reference

HTML Code ⚥

Decimal reference

Named Entity

Use numeric codes only

Reference Table
Name           Value
────────────   ──────────
Unicode        U+26A5
Hex code       ⚥
HTML code      ⚥
Named entity   (none)
CSS code       \26A5
Related        U+2642 = male sign (♂); U+2640 = female sign (♀)
1

Complete HTML Example

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

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

🌐 Browser Support

U+26A5 is universally supported in all modern browsers:

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

👀 Live Preview

See the male and female sign (⚥) rendered in different contexts:

Inline text Gender option: ⚥ All genders
Large glyph
Related symbols ♂ male   ♀ female   ⚥ combined
In a label
Numeric refs &#x26A5; &#9893;

🧠 How It Works

1

Hexadecimal Code

&#x26A5; uses the Unicode hexadecimal value 26A5 to display the male and female sign. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#9893; uses the decimal Unicode value 9893 to display the same character. This is one of the most commonly used methods.

HTML markup
3

CSS Entity

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

Use Cases

The male and female sign (⚥) commonly appears in:

📄 Forms & UI

Gender selection options alongside text labels in registration and profile forms.

🏥 Medical content

Biology, healthcare, and anatomy pages referencing combined gender symbols.

🎓 Education

Science textbooks, biology courses, and educational materials on reproduction.

🌐 Inclusive design

Content that represents diverse gender identities with appropriate context.

🔍 Scientific notation

Research papers, datasets, and documentation using standard Unicode symbols.

📝 Reference guides

Symbol dictionaries, Unicode charts, and HTML entity reference pages.

💡 Best Practices

Do

  • Pair ⚥ with clear text labels in forms and UI
  • Add aria-label when the symbol stands alone
  • Use &#x26A5; or &#9893; consistently per project
  • Distinguish U+26A5 from ♂ (male) and ♀ (female)
  • Test glyph rendering across browsers and devices

Don’t

  • Rely on the symbol alone for critical gender selection
  • Confuse ⚥ (combined) with separate ♂ and ♀ symbols
  • Expect a named entity—none exists for U+26A5
  • Put CSS escape \26A5 in HTML text nodes
  • Use symbols without considering accessibility and user context

Key Takeaways

1

Two HTML numeric references render ⚥

&#x26A5; &#9893;
2

For CSS stylesheets, use the escape in the content property

\26A5
3

Unicode U+26A5 — MALE AND FEMALE SIGN (single combined glyph)

4

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

5

Not the same as ♂ (male) or ♀ (female)—each has its own code point

❓ Frequently Asked Questions

Use &#x26A5; (hex), &#9893; (decimal), or \26A5 in CSS content. All produce ⚥. There is no named entity.
U+26A5 (MALE AND FEMALE SIGN). Miscellaneous Symbols block (U+2600–U+26FF). Hex 26A5, decimal 9893. A single combined symbol, not two separate glyphs.
In gender-related UI labels, medical or biology content, inclusive forms, scientific notation, and educational material where the combined ⚥ symbol is appropriate. Always include accessible text alongside the symbol.
HTML references (&#9893; or &#x26A5;) go directly in markup. The CSS escape \26A5 is used in stylesheets, typically in the content property of ::before or ::after. Same visual result, different layers of the stack.
No. ⚥ is U+26A5 (combined male and female sign). ♂ is U+2642 (male sign) and ♀ is U+2640 (female sign). Each is a distinct 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