HTML Entity for Baseball (⚾)

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

What Is the Baseball Entity?

Baseball (⚾) is Unicode U+26BE in the Miscellaneous Symbols block. It is a compact sports glyph for scoreboards, calendars, and app labels when you do not need a separate image. HTML has no standard named entity — use numeric or CSS forms (or type the character in UTF-8).

Remember
Character     ⚾
Unicode       U+26BE
Hex entity    ⚾
Decimal       ⚾
Named entity  (none)
CSS escape    \26BE
Not the same  ⚽ U+26BD (soccer ball)

All of these produce the same glyph: ⚾. Prefer typing ⚾ in UTF-8 when you can; use ⚾ / ⚾ or CSS for generated content.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character⚾HTML text (UTF-8)
Named entityNone—
Hex entity⚾HTML markup
Decimal entity⚾HTML markup
CSS escape\26BEStylesheet content

When to Use Which

SituationUse
Baseball / sports label⚾ or type ⚾
Soccer ball (different sport)⚽ (⚽, U+26BD)
Need an entity in HTML source⚾ or ⚾
Icon via CSScontent: "\26BE" on ::before
Meaning must be clear to all usersGlyph + visible “Baseball” label

Live Preview

Baseball glyph in sports-style context.

Inline Tonight’s game ⚾
Large glyph ⚾
vs. soccer ⚾ baseball  vs.  ⚽ soccer
Scoreboard style Home ⚾ vs Away ⚾
With entities Hex: ⚾ | Decimal: ⚾

Complete HTML Example

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

Hex + Decimal + CSS + Typed

Four ways to produce ⚾ in a single document (no named entity).

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Baseball (⚾) in HTML</title>
  <style>
    #point::after {
      content: "\26BE";
    }
  </style>
</head>
<body>
  <p>Baseball using Hex Code: &#x26BE;</p>
  <p>Baseball using HTML Code: &#9918;</p>
  <p id="point">Baseball using CSS Entity: </p>
  <p>Typed directly: ⚾</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+26BE → &#x26BE; in HTML. The browser turns it into ⚾.

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

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

4. Typed ⚾: fine in UTF-8 source. All four lines show the same glyph.

Pitfalls & Tips

Common mistakes when working with the baseball symbol (⚾).

Named

No &name; form

U+26BE has no standard named entity — use &#x26BE; or &#9918;.

⚽

Not soccer ball

⚽ is U+26BD. Baseball is U+26BE — different sports glyphs.

a11y

Add plain-language labels

Screen readers may not say “baseball.” Pair the glyph with visible text when meaning matters.

Emoji

Style may vary

Some platforms render ⚾ with emoji-like colors. Test your font stack if you need a plain text glyph.

CSS vs HTML

Do not mix escapes

\26BE belongs in CSS. &#x26BE; / &#9918; belong in HTML.

Semicolon

End references

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

Browser Support

Baseball (U+26BE) and its entity forms (&#x26BE;, &#9918;, CSS \\26BE) are supported in all mainstream browsers. Glyph quality depends on font support for Miscellaneous Symbols.

✓ Universal support

Baseball (⚾)

Type ⚾, or encode with hex, decimal, or CSS escape — same glyph everywhere encoding is supported.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+26BE / entities Full support

Bottom line: Prefer a typed ⚾ or &#x26BE; for sports labels. Use decimal when generating markup, and \\26BE only inside CSS content.

Key Takeaways

  • Unicode: baseball is U+26BE (decimal 9918).
  • HTML: use &#x26BE; or &#9918; (no named entity).
  • CSS: use \26BE inside content for generated icons.
  • Watch out: ⚾ ≠ ⚽ (soccer).

One line: U+26BE → &#x26BE; / &#9918; / CSS \26BE.

Frequently Asked Questions

Use &#x26BE; (hex), &#9918; (decimal), or the CSS escape \26BE in the content property. All render ⚾. You can also paste ⚾ directly if your file is UTF-8. There is no standard named entity.
U+26BE (hex 26BE, decimal 9918). Unicode names it BASEBALL. It belongs to the Miscellaneous Symbols block.
No. HTML5 / WHATWG does not define a named character reference for U+26BE. Prefer &#x26BE;, &#9918;, or a typed ⚾ in UTF-8.
⚾ is baseball (U+26BE). ⚽ is soccer ball (U+26BD) — a different code point. Do not substitute them.
HTML entities (&#9918; or &#x26BE;) go in markup. The CSS escape \26BE is used in stylesheets (usually in the content property of ::before/::after). Both render ⚾.
For sports copy, scoreboards, calendars, and app labels when you want a compact glyph without a separate image. Pair it with visible text for accessibility.

Did you know?

Baseball is Unicode U+26BE (decimal 9918) in the Miscellaneous Symbols block — official name BASEBALL. There is no standard named HTML entity. Pair the glyph with the word “baseball” when meaning must be clear; some platforms render it with emoji-like colors.

Next: Beamed Eighth Notes

Learn the HTML entity for beamed eighth notes (♫).

Next 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