HTML Entity for Male Female Sign (⚥)

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

What Is the Male Female Sign Entity?

Male female sign (⚥) is the Miscellaneous Symbols character at Unicode U+26A5 (MALE AND FEMALE SIGN). It is the combined gender symbol used in labels, forms, and educational content.

Remember
Character     ⚥
Unicode       U+26A5
Hex entity    ⚥
Decimal       ⚥
CSS escape    \26A5
Named entity  (none)

Hex, decimal, CSS, and a typed character all produce the same glyph: ⚥. Prefer typing ⚥ in UTF-8 HTML when you can; use entities when encoding must be explicit.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character⚥UTF-8 HTML text (default choice)
Hex entity⚥HTML markup
Decimal entity⚥HTML markup
CSS escape\26A5Stylesheet content
Named entity—Not defined in HTML5

When to Use Which

SituationUse
Normal paragraphs, labels, headingsType ⚥ (UTF-8)
Need an entity in HTML source⚥ or ⚥
Generated text via ::before / ::aftercontent: "\26A5"
Male-only symbol ♂See Male Sign (U+2642)
Female-only symbol ♀See Female Sign (U+2640)

Live Preview

Male female sign rendered in common UI contexts.

Inline text Gender options: ⚥
Large glyph ⚥
vs ♂ / ♀ ⚥  |  ♂  |  ♀
Form label Select ⚥ if applicable
With entities Hex: ⚥ | Decimal: ⚥

Complete HTML Example

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

Hex + Decimal + CSS + Typed

Four ways to produce ⚥ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Male Female Sign (⚥)</title>
  <style>
    #point::after {
      content: "\26A5";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x26A5;</p>
  <p>Using HTML Code: &#9893;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Typed directly: ⚥</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+26A5 → &#x26A5; in HTML. The browser turns it into ⚥.

2. Decimal: same code point as 9893 → &#9893;. Same result as hex.

3. CSS: use \26A5 in content (not an HTML entity). #point::after appends that ⚥ after the paragraph text.

4. Typed ⚥: best for normal UTF-8 text. All four lines show the same symbol.

Pitfalls & Tips

Common mistakes when working with the male female sign.

Named?

No named entity

HTML5 does not define a named entity for U+26A5. Use numeric forms.

Related

Not ♂ or ♀ alone

U+26A5 is the combined sign. Male is U+2642; female is U+2640.

A11y

Provide text context

Screen readers may not name the glyph clearly — add visible labels or aria-label where needed.

CSS vs HTML

Do not mix escapes

\26A5 belongs in CSS. &#x26A5; / &#9893; belong in HTML.

Encoding

Declare UTF-8

If you type ⚥ directly, keep <meta charset="UTF-8"> so the file is not misread.

Semicolon

End references

Always finish with ; — write &#9893;, not &#9893.

Browser Support

Male female sign (U+26A5) and its numeric entity forms (&#x26A5;, &#9893;, CSS \\26A5) are supported in all mainstream browsers with a Unicode-capable font.

✓ Universal support

Male Female Sign (⚥)

Type ⚥, or encode with hex, decimal, or CSS escape — same glyph everywhere.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer IE 9+
Yes*
U+26A5 / entities Full support

Bottom line: Type ⚥ for normal UTF-8 text. Prefer &#x26A5; or &#9893; when encoding must be explicit, and \\26A5 only inside CSS content.

Key Takeaways

  • Unicode: male female sign is U+26A5 (decimal 9893).
  • HTML: use &#x26A5; or &#9893; when you need an entity.
  • CSS: use \26A5 inside content for generated text.
  • Related: ♂ is U+2642; ♀ is U+2640 — different characters.

One line: U+26A5 → type ⚥, or encode as &#x26A5; / &#9893; / CSS \26A5.

Frequently Asked Questions

Use &#x26A5; (hex), &#9893; (decimal), or the CSS escape \26A5 in the content property. All render ⚥. There is no named HTML entity for U+26A5.
U+26A5 (MALE AND FEMALE SIGN). Hex 26A5, decimal 9893. It belongs to the Miscellaneous Symbols block.
No. U+26A5 has no named HTML entity. Use numeric references like &#x26A5; or &#9893;.
Use it for gender-related labels, forms, accessibility cues, and educational or UI content that needs the combined male/female symbol ⚥.
HTML entities (&#9893; or &#x26A5;) go in markup. The CSS escape \26A5 is used in stylesheets (usually in the content property of ::before/::after). Both render ⚥.
⚥ (U+26A5) is the combined male and female sign. ♂ is the male sign (U+2642) and ♀ is the female sign (U+2640) — separate characters.

Did you know?

Male female sign is Unicode U+26A5 (decimal 9893) — MALE AND FEMALE SIGN in Miscellaneous Symbols. HTML5 has no named entity for it — use &#x26A5; or &#9893;. Related: male sign U+2642 (♂) and female sign U+2640 (♀).

Next: Male Sign

Learn the HTML entity for the male sign (♂) — Unicode U+2642.

Male Sign 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