HTML Entity for Male Stroke Male Female Sign (⚧)

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

What Is the Male Stroke Male Female Sign Entity?

Male stroke male female sign (⚧) is the Miscellaneous Symbols character at Unicode U+26A7 (MALE WITH STROKE AND MALE AND FEMALE SIGN). It is a gender symbol used in inclusive design, education, and related UI labels.

Remember
Character     ⚧
Unicode       U+26A7
Hex entity    ⚧
Decimal       ⚧
CSS escape    \26A7
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\26A7Stylesheet 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: "\26A7"
Male with stroke only ⚦See Male Stroke Sign (U+26A6)
Combined male/female ⚥See Male Female Sign (U+26A5)

Live Preview

Male stroke male female sign rendered in common UI contexts.

Inline text Symbol: ⚧
Large glyph ⚧
vs related signs ⚧  |  ⚦  |  ⚥  |  ♂
Form label Option ⚧
With entities Hex: ⚧ | Decimal: ⚧

Complete HTML Example

One page that shows this 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 Stroke Male Female Sign (⚧)</title>
  <style>
    #point::after {
      content: "\26A7";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x26A7;</p>
  <p>Using HTML Code: &#9895;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Typed directly: ⚧</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+26A7 → &#x26A7; in HTML. The browser turns it into ⚧.

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

3. CSS: use \26A7 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 this gender symbol.

Named?

No named entity

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

Look-alikes

Not ⚥ or ⚦

U+26A5 is male and female. U+26A6 is male with stroke. U+26A7 combines both ideas.

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

\26A7 belongs in CSS. &#x26A7; / &#9895; 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 &#9895;, not &#9895.

Browser Support

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

✓ Universal support

Male Stroke 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+26A7 / entities Full support

Bottom line: Type ⚧ for normal UTF-8 text. Prefer &#x26A7; or &#9895; when encoding must be explicit, and \\26A7 only inside CSS content.

Key Takeaways

  • Unicode: this character is U+26A7 (decimal 9895).
  • HTML: use &#x26A7; or &#9895; when you need an entity.
  • CSS: use \26A7 inside content for generated text.
  • Related: U+26A6 (⚦) and U+26A5 (⚥) are different characters.

One line: U+26A7 → type ⚧, or encode as &#x26A7; / &#9895; / CSS \26A7.

Frequently Asked Questions

Use &#x26A7; (hex), &#9895; (decimal), or the CSS escape \26A7 in the content property. All render ⚧. There is no named HTML entity for U+26A7.
U+26A7 (MALE WITH STROKE AND MALE AND FEMALE SIGN). Hex 26A7, decimal 9895. It belongs to the Miscellaneous Symbols block.
No. U+26A7 has no named HTML entity. Use numeric references like &#x26A7; or &#9895;.
Use it for gender-related labels, inclusive design, educational content, and UI that needs the ⚧ symbol.
HTML entities (&#9895; or &#x26A7;) go in markup. The CSS escape \26A7 is used in stylesheets (usually in the content property of ::before/::after). Both render ⚧.
⚧ (U+26A7) is male with stroke and male and female. ⚥ is male and female (U+26A5). ♂ is male (U+2642). ⚦ is male with stroke (U+26A6).

Did you know?

Male stroke male female sign is Unicode U+26A7 (decimal 9895) — MALE WITH STROKE AND MALE AND FEMALE SIGN in Miscellaneous Symbols. HTML5 has no named entity for it — use &#x26A7; or &#9895;. Related: male stroke sign U+26A6 (⚦) and male female sign U+26A5 (⚥).

Next: Male Stroke Sign

Learn the HTML entity for male with stroke (⚦) — Unicode U+26A6.

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