HTML Entity for Male Stroke Sign (⚦)

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

What Is the Male Stroke Sign Entity?

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

Remember
Character     ⚦
Unicode       U+26A6
Hex entity    ⚦
Decimal       ⚦
CSS escape    \26A6
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\26A6Stylesheet 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: "\26A6"
Plain male symbol ♂See Male Sign (♂)
Male stroke + male/female ⚧See Male Stroke Male Female Sign (U+26A7)

Live Preview

Male stroke 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 the male stroke 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 Sign (⚦)</title>
  <style>
    #point::after {
      content: "\26A6";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x26A6;</p>
  <p>Using HTML Code: &#9894;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Typed directly: ⚦</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+26A6 → &#x26A6; in HTML. The browser turns it into ⚦.

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

3. CSS: use \26A6 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 stroke sign.

Named?

No named entity

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

Look-alikes

Not ♂ or ⚧

&male; (U+2642) is the plain male sign. U+26A7 adds male/female. This page is U+26A6 only.

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

\26A6 belongs in CSS. &#x26A6; / &#9894; 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 &#9894;, not &#9894.

Browser Support

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

✓ Universal support

Male Stroke Sign (&#x26A6;)

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+26A6 / entities Full support

Bottom line: Type ⚦ for normal UTF-8 text. Prefer &#x26A6; or &#9894; when encoding must be explicit, and \\26A6 only inside CSS content.

Key Takeaways

  • Unicode: male stroke sign is U+26A6 (decimal 9894).
  • HTML: use &#x26A6; or &#9894; when you need an entity.
  • CSS: use \26A6 inside content for generated text.
  • Related: &male; (♂) and U+26A7 (⚧) are different characters.

One line: U+26A6 → type ⚦, or encode as &#x26A6; / &#9894; / CSS \26A6.

Frequently Asked Questions

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

Did you know?

Male stroke sign is Unicode U+26A6 (decimal 9894) — MALE WITH STROKE SIGN in Miscellaneous Symbols. HTML5 has no named entity for it — use &#x26A6; or &#9894;. Related: male sign &male; (♂, U+2642) and male stroke male female sign U+26A7 (⚧).

Next: Maltese Cross

Continue to the next HTML entity in this sequence (U+2720).

Continue tutorial →

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