HTML Entity for Subscript Six (₆)

What You'll Learn
How to display the subscript six (₆) 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 (\2086 in content).
⚡ Quick Reference — ₆ Entity
U+2086Superscripts & Subscripts block
₆Hexadecimal reference
₆Decimal reference
\2086Use in CSS content
Name Value
──────────── ──────────
Unicode U+2086
Hex code ₆
HTML code ₆
Named entity (none)
CSS code \2086Complete HTML Example
This example demonstrates ₆ using hexadecimal code, decimal HTML code, and a CSS content escape on a pseudo-element:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\2086";
}
</style>
</head>
<body>
<p>Subscript Six using Hexa Decimal: ₆</p>
<p>Subscript Six using HTML Code: ₆</p>
<p id="point">Subscript Six using CSS Entity: </p>
</body>
</html>🌐 Browser Support
The character ₆ (U+2086) is supported in all modern browsers. Rendering depends on font support for the Superscripts and Subscripts block, so include a sensible fallback font stack:
👀 Live Preview
See ₆ rendered in a few practical contexts:
<sub> (e.g., H2O).🧠 How It Works
Hexadecimal Code
₆ references Unicode 2086 in hexadecimal to produce the glyph ₆ in HTML.
Decimal HTML Code
₆ uses the decimal code point value 8326 to render the same character.
CSS Entity (Escape)
\2086 is used in CSS (often in content) to generate ₆ in pseudo-elements like ::before and ::after.
Same visual result
All methods render ₆. Unicode is U+2086 (Superscripts and Subscripts). There is no named HTML entity for this character.
Use Cases
The subscript six (₆) commonly appears in the following scenarios:
Molecular formulas like SF₆, C₆ rings, or other atom counts.
Indices and sequences like x₆, a₆ in notation.
Compact subscript markers in text-heavy content.
Base notation like 10₆ for base-6 examples.
Textbooks and tutorials with simple subscripts.
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 (
₆/₆) 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 “6” is intended
Key Takeaways
Use numeric references in HTML
₆ ₆For CSS, use the escape in the content property
\2086Unicode U+2086 is in Superscripts/Subscripts
Useful for formulas and indices like SF₆ and x₆
There is no named HTML entity for ₆
❓ Frequently Asked Questions
₆ (hex) or ₆ (decimal) in HTML. In CSS, use \2086 in the content property. All render ₆.U+2086 (hex 2086, decimal 8326). It’s part of the Superscripts and Subscripts Unicode block.₆ or ₆) are used directly in markup. The CSS escape \2086 is used in stylesheets (often in content on pseudo-elements). Same glyph, different layer.₆ or ₆ instead of a named entity.Explore More HTML Entities!
Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, and more.
8 people found this page helpful
