HTML Entity for Music Natural Sign (♮)

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

What You'll Learn

How to display the Music Natural Sign (♮) in HTML using named, hexadecimal, decimal, and CSS escape methods. This character is U+266E (MUSIC NATURAL SIGN) in the Miscellaneous Symbols block (U+2600–U+26FF)—the accidental that cancels a flat or sharp and restores a note to its natural pitch.

Render it with the named entity ♮, ♮, ♮, or CSS escape \266E. Use it in sheet music, theory lessons, and chord charts alongside Music Flat Sign (♭, ♭) and Music Sharp Sign (♯, ♯).

⚡ Quick Reference — Music Natural Sign

Unicode U+266E

Miscellaneous Symbols

Hex Code ♮

Hexadecimal reference

HTML Code ♮

Decimal reference

Named Entity ♮

Most readable in music markup

Reference Table
Name           Value
────────────   ──────────
Unicode        U+266E
Hex code       ♮
HTML code      ♮
Named entity   ♮
CSS code       \266E
Meaning        Cancel flat/sharp; restore natural pitch
Related        U+266D = flat (♭, ♭)
               U+266F = sharp (♯, ♯)
1

Complete HTML Example

This example demonstrates the Music Natural Sign (♮) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\266E";
  }
 </style>
</head>
<body>
<p>Music Natural Sign using Hexadecimal: &#x266E;</p>
<p>Music Natural Sign using HTML Code: &#9838;</p>
<p>Music Natural Sign using Named Entity: &natural;</p>
<p id="point">Music Natural Sign using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+266E 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 Music Natural Sign (♮) in music notation contexts:

Accidental F♮
All three ♭ ♮ ♯
Large glyph
Cancel sharp C♯ then C♮
Entity refs &natural; &#x266E; &#9838; \266E

🧠 How It Works

1

Named Entity

&natural; is the HTML named entity for the Music Natural Sign—often preferred in readable music markup.

HTML markup
2

Hexadecimal Code

&#x266E; uses the Unicode hexadecimal value 266E. The x prefix indicates hexadecimal format.

HTML markup
3

Decimal HTML Code

&#9838; uses the decimal Unicode value 9838 to display the same character.

HTML markup
4

CSS Entity

\266E is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All four methods produce: . Unicode U+266E in Miscellaneous Symbols. Related: Music Sharp Sign (♯, &sharp;).

Use Cases

The Music Natural Sign (♮) is commonly used in:

🎵 Sheet music

Cancelling accidentals within a measure or passage.

🎸 Chord charts

Marking notes returned to natural pitch in lead sheets.

🎓 Music education

Theory lessons explaining accidentals and key signatures.

💻 Music apps

Practice tools and interactive notation editors.

📰 Lyrics & blogs

Musician blogs and song analyses with proper symbols.

🌐 Reference guides

Unicode charts and HTML entity documentation.

💡 Best Practices

Do

  • Use &natural; for readable accidental markup
  • Pair with ♭ and ♯ when showing all three accidentals
  • Use serif or music fonts for clearer glyph rendering
  • Add aria-label (e.g. “F natural”) for screen readers
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Omit the natural sign when context already implies natural pitch
  • Confuse &natural; (♮) with unrelated “natural” text
  • Put CSS escape \266E in HTML text nodes
  • Mix entity styles randomly in one file
  • Rely on the symbol alone without accessible description

Key Takeaways

1

Three HTML references plus CSS all render ♮

&#x266E; &#9838; &natural;
2

For CSS stylesheets, use the escape in the content property

\266E
3

Unicode U+266E — MUSIC NATURAL SIGN

4

&natural; is the standard named entity

5

Related: Flat (♭) and Sharp (♯)

❓ Frequently Asked Questions

Use &natural; (named), &#x266E; (hex), &#9838; (decimal), or \266E in CSS content. All produce ♮.
U+266E (MUSIC NATURAL SIGN). Miscellaneous Symbols block (U+2600–U+26FF). Hex 266E, decimal 9838. Named entity: &natural;.
When cancelling a previous flat or sharp and restoring a note to its unaltered pitch in sheet music, theory content, and chord charts.
♭ (&flat;) lowers a note one semitone. ♯ (&sharp;) raises it one semitone. ♮ (&natural;) cancels a prior accidental and restores the natural pitch. These are the three standard accidentals in Western notation.
HTML entities (&#9838;, &#x266E;, or &natural;) go directly in markup. The CSS escape \266E is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.

Explore More HTML Entities!

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