HTML Entity for Music Natural Sign (♮)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+266E

What Is the Music Natural Sign Entity?

Music Natural Sign (♮) is the accidental at Unicode U+266E that cancels a flat or sharp. HTML5 provides ♮. Example: F♮ after F-sharp or F-flat.

Remember
Character     ♮
Unicode       U+266E
Named entity  ♮
Hex entity    ♮
Decimal       ♮
CSS escape    \266E

Named, hex, decimal, CSS, and a typed character all produce the same glyph: ♮.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity♮HTML markup (preferred)
Direct character♮UTF-8 HTML text
Hex entity♮HTML markup
Decimal entity♮HTML markup
CSS escape\266EStylesheet content

When to Use Which

SituationUse
Cancel flat/sharp; natural pitch♮
Need an entity in HTML source♮, ♮, or ♮
Generated text via ::before / ::aftercontent: "\266E"
Flat accidental (♭)See Music Flat Sign — ♭
Sharp accidental (♯)See Music Sharp Sign — ♯

Live Preview

Natural in note names and beside flat and sharp.

Example F♮
Large glyph ♮
Named entity ♮ → ♮
vs ♭ / ♯ ♮  |  ♭  |  ♯
With entities Named: ♮ | Hex: ♮ | Decimal: ♮

Complete HTML Example

One page that shows the Music Natural Sign with named, hex, decimal, and CSS forms. Use View Output or open the live editor.

Named + Hex + Decimal + CSS

Four ways to produce ♮ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Music Natural Sign (♮)</title>
  <style>
    #point::after {
      content: "\266E";
    }
  </style>
</head>
<body>
  <p>Using Named Entity: &natural;</p>
  <p>Using Hex Code: &#x266E;</p>
  <p>Using HTML Code: &#9838;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Note: F&natural;</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &natural; is the clearest HTML form and renders ♮.

2. Hex: U+266E → &#x266E; in HTML. Same result as the named entity.

3. Decimal: same code point as 9838 → &#9838;. Same result as hex and named.

4. CSS: use \266E in content (not an HTML entity). #point::after appends that ♮ after the paragraph text.

Pitfalls & Tips

Common mistakes when working with the Music Natural Sign.

Prefer

Use &natural;

The named form is clearer than numeric references and is defined in HTML5.

Meaning

Cancels ♭ / ♯

Natural restores the letter-name pitch after a flat or sharp in the same measure or context.

vs ♭ / ♯

Not flat or sharp

&flat; lowers; &sharp; raises; &natural; cancels. Do not swap them.

CSS vs HTML

Do not mix escapes

\266E belongs in CSS. &natural; / &#x266E; / &#9838; 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 &natural;, not &natural.

Browser Support

Music Natural Sign (U+266E) and its entity forms (&natural;, &#x266E;, &#9838;, CSS \\266E) are supported in all mainstream browsers with a Unicode-capable font.

✓ Universal support

Music Natural Sign (♮)

Encode with named, hex, decimal, or CSS escape — or type ♮ directly in UTF-8 HTML.

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+266E / &natural; Full support

Bottom line: Prefer &natural; in music HTML. Use \\266E only inside CSS content.

Key Takeaways

  • Unicode: Music Natural Sign is U+266E (decimal 9838).
  • HTML: prefer &natural;.
  • CSS: use \266E inside content for generated text.
  • Accidentals: pair with &flat; and &sharp;.

One line: U+266E → prefer &natural; (also &#x266E; / CSS \266E).

Frequently Asked Questions

Use &natural; (named), &#x266E; (hex), &#9838; (decimal), or the CSS escape \266E in the content property. All render ♮. Prefer &natural; in music HTML.
U+266E (MUSIC NATURAL SIGN). Hex 266E, decimal 9838. It belongs to the Miscellaneous Symbols block.
Yes. HTML5 defines &natural; for ♮.
Use it in chord charts, accidentals, and music education when a note returns to its natural pitch — for example F♮ after F♯ or F♭.
HTML entities (&natural;, &#9838;, or &#x266E;) go in markup. The CSS escape \266E is used in stylesheets (usually in the content property of ::before/::after). Both render ♮.
No. Natural is &natural; (♮, U+266E). Flat is &flat; (♭, U+266D). Sharp is &sharp; (♯, U+266F). Different accidentals.

Did you know?

Music Natural Sign is Unicode U+266E (decimal 9838) — in Miscellaneous Symbols. HTML5 provides &natural;. It cancels a previous flat or sharp and restores the letter-name pitch (e.g. F♮). Pair it with Flat &flat; (♭) and Sharp &sharp; (♯).

Next: Music Sharp Sign

Continue with the Music Sharp Sign (♯) entity tutorial.

Music Sharp Sign 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