Subscript Seven (₇) is the Unicode character at U+2087 in the Subscripts and Superscripts block. It looks like a small lowered 7 and is common in math and science text such as x₇ or C₇.
Remember
Character ₇
Unicode U+2087
Hex entity ₇
Decimal ₇
CSS escape \2087
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>7</sub> when you want semantic subscript formatting instead.
Reference
Quick Reference
One table for every form you will actually use.
Form
Code
Where it goes
Direct character
₇
HTML text (UTF-8)
Hex entity
₇
HTML markup
Decimal entity
₇
HTML markup
CSS escape
\2087
Stylesheet content
Named entity
—
Not defined in HTML5
Semantic tag
<sub>7</sub>
HTML (formatting, not the ₇ glyph)
When to use which
Situation
Use
Need the Unicode glyph ₇
Type ₇, or ₇ / ₇
Generated text via ::before / ::after
content: "\2087"
Semantic subscript for any text
<sub>7</sub>
Plain digit seven (not subscript)
Type 7 (U+0037)
Looking for &sub7; or similar
Does not exist — use numeric form
See it
Live Preview
Subscript Seven rendered in common writing contexts.
Inline textSeventh term: x₇ = 7
Large glyph₇
In a formulaC₇ Fe₂O₃ a₅ + a₆ + a₇
Monospacex₇ → seventh element
With entitiesHex: ₇ | Decimal: ₇
Semantic <sub>x7 (tag styles digit 7)
Code
Complete HTML Example
One page that shows Subscript Seven 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 seven in a single document.
html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Subscript Seven (₇) in HTML</title>
<style>
#point::after {
content: "\2087";
}
</style>
</head>
<body>
<p>Subscript Seven using Hex Code: ₇</p>
<p>Subscript Seven using HTML Code: ₇</p>
<p id="point">Subscript Seven using CSS Entity: </p>
<p>Semantic alternative: x<sub>7</sub></p>
</body>
</html>
Subscript Seven using Hex Code: ₇
Subscript Seven using HTML Code: ₇
Subscript Seven using CSS Entity: ₇
Semantic alternative: x₇
How It Works
1. Hex:U+2087 → ₇ in HTML. The browser turns it into ₇.
2. Decimal: same code point as 8327 → ₇. Same result as hex.
3. CSS: use \2087 in content (not an HTML entity). #point::after appends that ₇ after the paragraph text.
4. Semantic <sub>:x<sub>7</sub> styles digit seven as a subscript. Prefer this when you need meaning, not a specific Unicode glyph.
Pitfalls & Tips
Common mistakes when working with Subscript Seven entities.
Named?
No named entity
HTML5 does not define &sub7; or similar. Use numeric forms.
CSS vs HTML
Do not mix escapes
\2087 belongs in CSS. ₇ / ₇ belong in HTML.
₇ vs 7 vs ⁷
Different characters
₇ is U+2087; digit 7 is U+0037; superscript ⁷ is U+2077.
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 ₇, not ₇.
Fonts
Check the glyph
Some fonts draw ₇ weakly. If appearance matters, test the font or prefer <sub>.
Compatibility
Browser Support
Subscript Seven (U+2087) and its numeric entity forms (₇, ₇, CSS \\2087) are supported in all mainstream browsers. Glyph shape depends on the font.
✓ Universal support
Subscript Seven (₇)
Encode with hex, decimal, or CSS escape — or use <sub> for semantic formatting.
100%Browser coverage
Google ChromeSupported
Yes
Microsoft EdgeSupported
Yes
Mozilla FirefoxSupported
Yes
Apple SafariSupported
Yes
OperaSupported
Yes
Internet ExplorerAll versions
Yes
U+2087 / entitiesFull support
Bottom line: Use ₇ or ₇ for the Unicode glyph, \\2087 only inside CSS content, and <sub>7</sub> when you want semantic subscript.
Remember
Key Takeaways
Unicode: Subscript Seven is U+2087 (decimal 8327).
HTML: use ₇ or ₇ when you need an entity.
CSS: use \2087 inside content for generated text.
Alternative: use <sub>7</sub> for semantic subscript formatting.
One line:U+2087 → ₇ / ₇ / CSS \2087, or semantic <sub>7</sub>.
Frequently Asked Questions
Use ₇ (hex), ₇ (decimal), or the CSS escape \2087 in the content property. All render ₇. You can also paste the character ₇ directly when your file is UTF-8.
U+2087 (hex 2087, decimal 8327). It belongs to the Subscripts and Superscripts Unicode block.
No. HTML5 does not define a named entity for ₇. Use numeric references like ₇ or ₇.
Use ₇ (or its entities) when you need the exact Unicode subscript glyph. Use <sub>7</sub> when you want semantic subscript formatting for arbitrary text.
No. Digit seven is U+0037. Superscript seven is U+2077 (⁷). Subscript Seven is U+2087 (₇) — a different character.
HTML entities (₇ or ₇) go in markup. The CSS escape \2087 is used in stylesheets (usually in the content property of ::before/::after). Both render ₇.
🤔
Did you know?
Subscript seven is Unicode U+2087 (decimal 8327). HTML5 has no named entity for it — use ₇ or ₇. It is a different character from digit seven (U+0037) and from superscript seven ⁷ (U+2077).