HTML Entity for Beamed Eighth Notes (♫)

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

What You'll Learn

How to display beamed eighth notes (♫) in HTML using numeric character references and CSS. This character is U+266B (beamed eighth notes) in the Miscellaneous Symbols block (roughly U+2600–U+26FF). It stands for two eighth notes connected by a beam—a compact rhythm cue in prose, lesson pages, and lightweight music UI.

There is no named HTML entity for this symbol. Use ♫ or ♫ in markup, or \266B in stylesheet content on pseudo-elements. For serious engraving, dedicated notation engines still beat raw Unicode, but ♫ is ideal for labels, breadcrumbs, and educational copy.

⚡ Quick Reference — Beamed Eighth Notes

Unicode U+266B

Miscellaneous Symbols

Hex Code ♫

Hexadecimal reference

HTML Code ♫

Decimal reference

Named Entity

None (use numeric refs)

Reference Table
Name           Value
────────────   ──────────
Unicode        U+266B
Hex code       ♫
HTML code      ♫
Named entity   —
CSS code       \266B
1

Complete HTML Example

This example demonstrates beamed eighth notes using hexadecimal code, decimal HTML code, and a CSS content escape on a pseudo-element:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\266B";
  }
 </style>
</head>
<body>
<p>Beamed Eighth Notes using Hexa Decimal: &#x266B;</p>
<p>Beamed Eighth Notes using HTML Code: &#9835;</p>
<p id="point">Beamed Eighth Notes using CSS Entity: </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

U+266B 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 ♫ (U+266B) next to the single eighth note ♪ (U+266A) and beamed sixteenths ♬ (U+266C) in the same block:

Rhythm row Eighth ♪   Beamed eighths ♫   Beamed sixteenths ♬
Large glyph
Lesson snippet Clap on ♫ — two quick beats per bar figure.
Monospace refs &#x266B; &#9835; \266B
Note For polished sheet music, pair Unicode with a music font (e.g. Noto Music) or a notation library—♫ is a dingbat, not a full score.

🧠 How It Works

1

Hexadecimal Code

&#x266B; references code point U+266B using hex digits 266B after the #x prefix.

HTML markup
2

Decimal HTML Code

&#9835; is the decimal equivalent (9835) for the same beamed eighth notes character.

HTML markup
3

CSS Entity

\266B is the CSS escape for U+266B, 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 beamed eighth notes symbol (♫) is commonly used for:

♫ Music education

Theory lessons, rhythm drills, and course landing pages.

🎵 Sheet music & apps

Web viewers, practice tools, and lightweight editors.

🎼 Chords & tabs

Rhythm hints next to guitar or ukulele charts.

📖 Tutorials & blogs

Time signatures, swing feel, and counting exercises.

🎤 Lyrics & karaoke

Simple beat markers in static lyric HTML.

🖥 UI chrome

Icons for playlists, audio lessons, or music categories.

♿ Accessibility

Pair ♫ with visible text or aria-label (“Beamed eighth notes”) so the glyph is not the only cue.

💡 Best Practices

Do

  • Use &#x266B; or &#9835; consistently within one page
  • Load a music-capable font (e.g. Noto Music) when ♫ must match print-like weight
  • Align ♫ with related glyphs (♪, ♬, ♩) at the same font size in rows
  • Use \266B only inside CSS content, not pasted into HTML text
  • Explain rhythm in words for learners—Unicode decorates the explanation

Don’t

  • Substitute ♫ for a full notation renderer when stems, beams, and spacing must be exact
  • Confuse U+266B with similar music dingbats (check code charts for ♪ ♬)
  • Rely on ♫ alone in navigation without a text label
  • Assume every system font draws ♫ with identical metrics
  • Use CSS escapes inside HTML markup (they belong in stylesheets)

Key Takeaways

1

Two numeric references render the same glyph

&#x266B; &#9835;
2

In CSS content, use the escape

\266B
3

Unicode U+266B is beamed eighth notes; no standard named entity

4

Neighbors in the block include ♪ (eighth) and ♬ (beamed sixteenths)

5

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

❓ Frequently Asked Questions

Use &#x266B; (hex), &#9835; (decimal), or \266B in CSS content. There is no named entity; all valid methods render ♫.
U+266B (hex 266B, decimal 9835). It lives in the Miscellaneous Symbols block.
For music education, chord charts, theory blogs, playlist UI, and any static copy that needs a quick rhythm icon without an image asset.
Numeric references belong in HTML. The \266B escape belongs in stylesheets (for example on pseudo-elements). Do not paste CSS escapes into HTML text nodes.
No. Use &#x266B;, &#9835;, or \266B 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