HTML Entity for Subscript Nine (₉)

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+2089

What Is the Subscript Nine Entity?

Subscript Nine (₉) is the Unicode character at U+2089 in the Subscripts and Superscripts block. It looks like a small lowered 9 and is common in math and science text such as x₉ or C₉.

Remember
Character     ₉
Unicode       U+2089
Hex entity    ₉
Decimal       ₉
CSS escape    \2089
Named entity  (none)

All of these produce the same glyph: ₉. Prefer the Unicode character (or its entities) when you need that exact glyph; use <sub>9</sub> when you want semantic subscript formatting instead.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character₉HTML text (UTF-8)
Hex entity&#x2089;HTML markup
Decimal entity&#8329;HTML markup
CSS escape\2089Stylesheet content
Named entity—Not defined in HTML5
Semantic tag<sub>9</sub>HTML (formatting, not the ₉ glyph)

When to use which

SituationUse
Need the Unicode glyph ₉Type ₉, or &#x2089; / &#8329;
Generated text via ::before / ::aftercontent: "\2089"
Semantic subscript for any text<sub>9</sub>
Plain digit nine (not subscript)Type 9 (U+0039)
Looking for &sub9; or similarDoes not exist — use numeric form

Live Preview

Subscript Nine rendered in common writing contexts.

Inline text Ninth term: x₉ = 9
Large glyph ₉
In a formula C₉   H₂O   a₇ + a₈ + a₉
Monospace x₉ → ninth element
With entities Hex: ₉ | Decimal: ₉
Semantic <sub> x9 (tag styles digit 9)

Complete HTML Example

One page that shows Subscript Nine with the hex entity, decimal entity, CSS escape, and the semantic <sub> option. Use View Output or open the live editor.

Hex + Decimal + CSS + <sub>

Four ways to show a lowered nine in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Subscript Nine (₉) in HTML</title>
  <style>
    #point::after {
      content: "\2089";
    }
  </style>
</head>
<body>
  <p>Subscript Nine using Hex Code: &#x2089;</p>
  <p>Subscript Nine using HTML Code: &#8329;</p>
  <p id="point">Subscript Nine using CSS Entity: </p>
  <p>Semantic alternative: x<sub>9</sub></p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+2089 → &#x2089; in HTML. The browser turns it into ₉.

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

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

4. Semantic <sub>: x<sub>9</sub> styles digit nine as a subscript. Prefer this when you need meaning, not a specific Unicode glyph.

Pitfalls & Tips

Common mistakes when working with Subscript Nine entities.

Named?

No named entity

HTML5 does not define &sub9; or similar. Use numeric forms.

CSS vs HTML

Do not mix escapes

\2089 belongs in CSS. &#x2089; / &#8329; belong in HTML.

₉ vs 9 vs ⁹

Different characters

₉ is U+2089; digit 9 is U+0039; superscript ⁹ is U+2079.

Glyph vs tag

Choose intentionally

Use the Unicode glyph for exact look; use <sub> for semantic subscript on any text.

Semicolon

End references

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

Fonts

Check the glyph

Some fonts draw ₉ weakly. If appearance matters, test the font or prefer <sub>.

Browser Support

Subscript Nine (U+2089) and its numeric entity forms (&#x2089;, &#8329;, CSS \\2089) are supported in all mainstream browsers. Glyph shape depends on the font.

✓ Universal support

Subscript Nine (₉)

Encode with hex, decimal, or CSS escape — or use <sub> for semantic formatting.

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+2089 / entities Full support

Bottom line: Use &#x2089; or &#8329; for the Unicode glyph, \\2089 only inside CSS content, and <sub>9</sub> when you want semantic subscript.

Key Takeaways

  • Unicode: Subscript Nine is U+2089 (decimal 8329).
  • HTML: use &#x2089; or &#8329; when you need an entity.
  • CSS: use \2089 inside content for generated text.
  • Alternative: use <sub>9</sub> for semantic subscript formatting.

One line: U+2089 → &#x2089; / &#8329; / CSS \2089, or semantic <sub>9</sub>.

Frequently Asked Questions

Use &#x2089; (hex), &#8329; (decimal), or the CSS escape \2089 in the content property. All render ₉. You can also paste the character ₉ directly when your file is UTF-8.
U+2089 (hex 2089, decimal 8329). It belongs to the Subscripts and Superscripts Unicode block.
No. HTML5 does not define a named entity for ₉. Use numeric references like &#x2089; or &#8329;.
Use ₉ (or its entities) when you need the exact Unicode subscript glyph. Use <sub>9</sub> when you want semantic subscript formatting for arbitrary text.
No. Digit nine is U+0039. Superscript nine is U+2079 (⁹). Subscript Nine is U+2089 (₉) — a different character.
HTML entities (&#8329; or &#x2089;) go in markup. The CSS escape \2089 is used in stylesheets (usually in the content property of ::before/::after). Both render ₉.

Did you know?

Subscript nine is Unicode U+2089 (decimal 8329). HTML5 has no named entity for it — use &#x2089; or &#8329;. It is a different character from digit nine (U+0039) and from superscript nine ⁹ (U+2079).

Next: 9 Superscript

Learn the HTML entity for superscript nine (⁹) — a different Unicode character from ₉.

9 Superscript 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