Superscript Eight (⁸) is the Unicode character at U+2078 in the Subscripts and Superscripts block. It looks like a small raised 8 and appears in power notation such as x⁸ and 10⁸.
Remember
Character ⁸
Unicode U+2078
Hex entity ⁸
Decimal ⁸
CSS escape \2078
Named entity (none)
All of these produce the same glyph: ⁸. Prefer the Unicode character (or its entities) when you need that exact glyph; use <sup>8</sup> when you want semantic superscript 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
\2078
Stylesheet content
Named entity
—
Not defined in HTML5 (unlike ¹–³)
Semantic tag
<sup>8</sup>
HTML (formatting, not the ⁸ glyph)
When to use which
Situation
Use
Need the Unicode glyph ⁸
Type ⁸, or ⁸ / ⁸
Generated text via ::before / ::after
content: "\2078"
Semantic superscript for any text
<sup>8</sup>
Plain digit eight (not superscript)
Type 8 (U+0038)
Looking for &sup8;
Does not exist — use numeric form
See it
Live Preview
Superscript Eight rendered in common writing contexts.
Inline textEighth power: x⁸
Large glyph⁸
In a power10⁸ = 100,000,000 2⁸ = 256
Monospacex⁸ → eighth power
With entitiesHex: ⁸ | Decimal: ⁸
Semantic <sup>x8 (tag styles digit 8)
Code
Complete HTML Example
One page that shows Superscript Eight with the hex entity, decimal entity, CSS escape, and the semantic <sup> option. Use View Output or open the live editor.
Hex + Decimal + CSS + <sup>
Four ways to show a raised eight in a single document.
html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Superscript Eight (⁸) in HTML</title>
<style>
#point::after {
content: "\2078";
}
</style>
</head>
<body>
<p>Superscript Eight using Hex Code: ⁸</p>
<p>Superscript Eight using HTML Code: ⁸</p>
<p id="point">Superscript Eight using CSS Entity: </p>
<p>Semantic alternative: x<sup>8</sup></p>
</body>
</html>
Superscript Eight using Hex Code: ⁸
Superscript Eight using HTML Code: ⁸
Superscript Eight using CSS Entity: ⁸
Semantic alternative: x⁸
How It Works
1. Hex:U+2078 → ⁸ in HTML. The browser turns it into ⁸.
2. Decimal: same code point as 8312 → ⁸. Same result as hex.
3. CSS: use \2078 in content (not an HTML entity). #point::after appends that ⁸ after the paragraph text.
4. Semantic <sup>:x<sup>8</sup> styles digit eight as a superscript. Prefer this when you need meaning, not a specific Unicode glyph.
Pitfalls & Tips
Common mistakes when working with Superscript Eight entities.
Named?
No &sup8;
HTML5 has ¹, ², and ³ only. For ⁸, use numeric forms.
CSS vs HTML
Do not mix escapes
\2078 belongs in CSS. ⁸ / ⁸ belong in HTML.
⁸ vs 8 vs ₈
Different characters
⁸ is U+2078; digit 8 is U+0038; subscript ₈ is U+2088.
Glyph vs tag
Choose intentionally
Use the Unicode glyph for exact look; use <sup> for semantic superscript 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 <sup>.
Compatibility
Browser Support
Superscript Eight (U+2078) and its numeric entity forms (⁸, ⁸, CSS \\2078) are supported in all mainstream browsers. Glyph shape depends on the font.
✓ Universal support
Superscript Eight (⁸)
Encode with hex, decimal, or CSS escape — or use <sup> 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+2078 / entitiesFull support
Bottom line: Use ⁸ or ⁸ for the Unicode glyph, \\2078 only inside CSS content, and <sup>8</sup> when you want semantic superscript.
Remember
Key Takeaways
Unicode: Superscript Eight is U+2078 (decimal 8312).
HTML: use ⁸ or ⁸ when you need an entity.
CSS: use \2078 inside content for generated text.
Alternative: use <sup>8</sup> for semantic superscript formatting.
One line:U+2078 → ⁸ / ⁸ / CSS \2078, or semantic <sup>8</sup>.
Frequently Asked Questions
Use ⁸ (hex), ⁸ (decimal), or the CSS escape \2078 in the content property. All render ⁸. You can also paste the character ⁸ directly when your file is UTF-8.
U+2078 (hex 2078, decimal 8312). It belongs to the Subscripts and Superscripts Unicode block.
No. HTML5 defines ¹, ², and ³, but not &sup8;. Use numeric references like ⁸ or ⁸.
Use ⁸ (or its entities) when you need the exact Unicode superscript glyph. Use <sup>8</sup> when you want semantic superscript formatting for arbitrary text.
No. Digit eight is U+0038. Subscript eight is U+2088 (₈). Superscript Eight is U+2078 (⁸) — a different character.
HTML entities (⁸ or ⁸) go in markup. The CSS escape \2078 is used in stylesheets (usually in the content property of ::before/::after). Both render ⁸.
🤔
Did you know?
Superscript eight is Unicode U+2078 (decimal 8312). HTML5 has no named entity for it — unlike ¹, ², and ³. Use ⁸ or ⁸. It is a different character from digit eight (U+0038) and from subscript eight ₈ (U+2088).