HTML Entity for Subscript Nine (₉)

Beginner
⏱️ 5 min read
📚 Updated: Aug 2025
🎯 1 Code Example
Unicode U+2089

What You'll Learn

How to display the subscript nine (₉) in HTML using hex, decimal, and CSS entity methods. This character lives in the Superscripts and Subscripts Unicode block and is commonly used for chemical formulas, mathematical expressions, molecular notation, and technical content.

₉ has no named HTML entity, so you’ll use numeric references (₉ or ₉) or a CSS escape (\2089 in content).

⚡ Quick Reference — ₉ Entity

Unicode U+2089

Superscripts & Subscripts block

Hex Code ₉

Hexadecimal reference

HTML Code ₉

Decimal reference

CSS Code \2089

Use in CSS content

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2089
Hex code       ₉
HTML code      ₉
Named entity   (none)
CSS code       \2089
1

Complete HTML Example

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

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2089";
  }
 </style>
</head>
<body>

<p>Subscript Nine using Hexa Decimal: &#x2089;</p>
<p>Subscript Nine using HTML Code: &#8329;</p>
<p id="point">Subscript Nine using CSS Entity: </p>

</body>
</html>
Try It Yourself

🌐 Browser Support

The character ₉ (U+2089) is supported in all modern browsers. Rendering depends on font support for the Superscripts and Subscripts block, so include a sensible fallback font stack:

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

👀 Live Preview

See ₉ rendered in a few practical contexts:

Chemical formula C₉ (nine-carbon fragment)
Math index x₉
Large glyph
Semantic note For non-digit subscripts, prefer <sub> (e.g., H2O).

🧠 How It Works

1

Hexadecimal Code

&#x2089; references Unicode 2089 in hexadecimal to produce the glyph in HTML.

HTML markup
2

Decimal HTML Code

&#8329; uses the decimal code point value 8329 to render the same character.

HTML markup
3

CSS Entity (Escape)

\2089 is used in CSS (often in content) to generate ₉ in pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All methods render . Unicode is U+2089 (Superscripts and Subscripts). There is no named HTML entity for this character.

Use Cases

The subscript nine (₉) commonly appears in the following scenarios:

🧪 Chemistry

Molecular formulas and carbon counts (e.g., C₉ in chain or ring notation).

📐 Math

Indices and sequences like x₉, a₉ in notation.

📋 Footnotes

Compact subscript markers in text-heavy content.

💻 CS / Notation

Coefficients or terms in indexed series (e.g., coefficient a₉).

📚 Education

Textbooks and tutorials with simple subscripts.

🎨 Typography

Use the glyph when you need a single subscript digit.

💡 Best Practices

Do

  • Use <sub> when the subscript is a word or phrase
  • Use numeric references (&#x2089; / &#8329;) for portability
  • Keep formula formatting consistent across the page
  • Verify font support for Superscripts/Subscripts when important
  • Consider MathML/MathJax for complex equations

Don’t

  • Mix Unicode subscripts with random <sub> usage without reason
  • Assume every font renders ₉ at the same size and position
  • Use the CSS escape inside HTML content
  • Let line-height collapse around formulas (adjust if needed)
  • Use ₉ where a normal “9” is intended

Key Takeaways

1

Use numeric references in HTML

&#x2089; &#8329;
2

For CSS, use the escape in the content property

\2089
3

Unicode U+2089 is in Superscripts/Subscripts

4

Useful for formulas and indices like C₉ and x₉

5

There is no named HTML entity for ₉

❓ Frequently Asked Questions

Use &#x2089; (hex) or &#8329; (decimal) in HTML. In CSS, use \2089 in the content property. All render ₉.
U+2089 (hex 2089, decimal 8329). It’s part of the Superscripts and Subscripts Unicode block.
Use it for chemical formulas, math indices, molecular notation, and technical content where a digit must appear below the baseline.
HTML numeric references (&#8329; or &#x2089;) are used directly in markup. The CSS escape \2089 is used in stylesheets (often in content on pseudo-elements). Same glyph, different layer.
Superscripts and Subscripts characters like ₉ are normally referenced using numeric Unicode codes. It’s standard to use &#x2089; or &#8329; instead of a named entity.

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