HTML Entity for Baseball (⚾)

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

What You'll Learn

How to display the baseball symbol (⚾) in HTML using numeric character references and CSS. This character is U+26BE (baseball) in the Miscellaneous Symbols block (roughly U+2600–U+26FF). It is a compact dingbat for baseball, sports copy, scoreboards, and apps when you do not want to ship a separate image asset.

There is no named HTML entity for this symbol. Use ⚾ or ⚾ in markup, or \26BE in stylesheet content on pseudo-elements.

⚡ Quick Reference — Baseball

Unicode U+26BE

Miscellaneous Symbols

Hex Code ⚾

Hexadecimal reference

HTML Code ⚾

Decimal reference

Named Entity

None (use numeric refs)

Reference Table
Name           Value
────────────   ──────────
Unicode        U+26BE
Hex code       ⚾
HTML code      ⚾
Named entity   —
CSS code       \26BE
1

Complete HTML Example

This example demonstrates the baseball symbol using hexadecimal code, decimal HTML code, and a CSS content escape on a pseudo-element:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\26BE";
  }
 </style>
</head>
<body>
<p>Baseball using Hexa Decimal: &#x26BE;</p>
<p>Baseball using HTML Code: &#9918;</p>
<p id="point">Baseball using CSS Entity: </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

U+26BE is widely supported wherever Unicode Miscellaneous Symbols render correctly:

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

👀 Live Preview

See the baseball glyph (⚾) in context and compared to the soccer ball dingbat in the same Unicode block:

Sports row Baseball ⚾   Soccer ⚽
Large glyph
Code points ⚾ U+26BE baseball   ⚽ U+26BD soccer ball
Inline copy Tonight’s game: home ⚾ vs away ⚾
Note This is a Unicode dingbat, not the colorful emoji presentation you may see in some messaging apps.

🧠 How It Works

1

Hexadecimal Code

&#x26BE; references code point U+26BE using hex digits 26BE after the #x prefix.

HTML markup
2

Decimal HTML Code

&#9918; is the decimal equivalent (9918) for the same baseball character.

HTML markup
3

CSS Entity

\26BE is the CSS escape for U+26BE, used in the content property of ::before or ::after.

CSS stylesheet
=

Same visual result

Hex, decimal, and CSS escapes all produce . There is no named HTML entity; pick one numeric style per document for consistency.

Use Cases

The baseball symbol (⚾) is commonly used for:

⚾ Sports sites

Scores, league standings, team pages, and recap headlines.

📱 Apps

Fantasy baseball, live scores, and lightweight WebView UI.

📅 Schedules

Event lists and calendars that mark baseball without an icon font.

🖥 Navigation

Category chips and filters for sports content.

📖 Blogs & docs

Articles, rules explainers, and equipment guides.

🌐 Multilingual UI

One code point works across locales when fonts support it.

♿ Accessibility

Pair ⚾ with visible text or aria-label (“Baseball”) so meaning is not glyph-only.

💡 Best Practices

Do

  • Use &#x26BE; or &#9918; consistently within one page
  • Combine ⚾ with words (“MLB,” “Baseball”) for clarity and SEO
  • Keep other sports dingbats (e.g. ⚽ soccer) on the same visual scale in rows
  • Use \26BE only inside CSS content, not raw HTML text
  • Verify the glyph in your body font stack on mobile and desktop

Don’t

  • Rely on ⚾ alone as the only label for critical navigation
  • Assume every user’s font draws the same “emoji-style” baseball
  • Confuse U+26BE with unrelated circled letters or other 26xx symbols
  • Ship a tiny bitmap and a Unicode baseball side by side with different semantics without explaining it
  • Use CSS escapes pasted into HTML markup (they belong in stylesheets)

Key Takeaways

1

Two numeric references render the same glyph

&#x26BE; &#9918;
2

In CSS content, use the escape

\26BE
3

Unicode U+26BE is baseball; no standard named entity

4

Same block as ⚽ (soccer) and other sports dingbats—pair thoughtfully in UI

5

Add text or ARIA when the mark carries meaning for users or assistive tech

❓ Frequently Asked Questions

Use &#x26BE; (hex), &#9918; (decimal), or \26BE in CSS content. There is no named entity; all valid methods render ⚾.
U+26BE (hex 26BE, decimal 9918). It lives in the Miscellaneous Symbols block.
For sports sites, scoreboards, league apps, event listings, and any static copy that needs a baseball icon without an image file.
Numeric references belong in HTML. The \26BE escape belongs in stylesheets (for example on pseudo-elements). Do not paste CSS escapes into HTML text nodes.
No. Use &#x26BE;, &#9918;, or \26BE in CSS depending on whether you are authoring markup or styles.

Explore More HTML Entities!

Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, 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