HTML Entity for Cent Sign (¢)

What You'll Learn
How to display the Cent Sign (¢) in HTML using numeric references, the named entity, and CSS escapes. This character is U+00A2 (CENT SIGN) in the Latin-1 Supplement block (U+0080–U+00FF). It represents one cent (1/100 of a dollar or other currency unit) and is widely used in US pricing (e.g. 99¢).
You can use the named entity ¢, hex ¢, decimal ¢, or CSS \A2. Do not confuse ¢ with the Ghanaian cedi sign U+20B5 (₵) or the combining cedilla U+0327.
⚡ Quick Reference — Cent Sign
U+00A2Latin-1 Supplement block
¢Hexadecimal reference
¢Decimal reference
¢Standard HTML entity
Name Value
──────────── ──────────
Unicode U+00A2
Hex code ¢
HTML code ¢
Named entity ¢
CSS code \A2Complete HTML Example
This example demonstrates the Cent Sign (¢) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\A2";
}
</style>
</head>
<body>
<p>Cent Sign using Hexadecimal: ¢</p>
<p>Cent Sign using HTML Code: ¢</p>
<p>Cent Sign using HTML Entity: ¢</p>
<p id="point">Cent Sign using CSS Entity: </p>
</body>
</html>🌐 Browser Support
The Cent Sign entity is universally supported in all modern browsers:
👀 Live Preview
See the Cent Sign in pricing and financial contexts:
🧠 How It Works
Hexadecimal Code
¢ uses the Unicode hexadecimal value 00A2 to display the Cent Sign.
Decimal HTML Code
¢ uses the decimal Unicode value 162 to display the same character.
Named HTML Entity
¢ is the standard named entity—the most readable option when writing HTML by hand.
CSS Entity
\A2 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All four methods produce the Cent Sign glyph: ¢. Unicode U+00A2 sits in the Latin-1 Supplement block (U+0080–U+00FF).
Use Cases
The Cent Sign (¢) commonly appears in:
Product prices in cents (e.g. 99¢, 50¢ off).
Reports, invoices, and amounts displayed in cents.
Promotional text like “Save 25¢” or “10¢ per unit.”
Dollar-and-cent displays (e.g. $1.99 or 199¢).
Teaching currency, math, or economics with cent amounts.
Digital receipts, vending machines, and fare displays.
Pair with “cents” in accessible text when the symbol stands alone.
💡 Best Practices
Do
- Prefer
¢for readable HTML source code - Use consistent entity style throughout a document
- Follow your style guide for spacing (99¢ vs 99 ¢)
- Use
lang="en-US"on US pricing pages when appropriate - Provide accessible text (“cents”) when the symbol is critical
Don’t
- Confuse ¢ (cent, U+00A2) with ₵ (cedi, U+20B5) or U+0327 (combining cedilla)
- Put CSS escape
\A2inside HTML text nodes - Use the cent sign where a full dollar amount is clearer ($0.99)
- Assume all locales use ¢ for fractional currency
- Mix entity styles randomly in one file
Key Takeaways
Named entity is the easiest option
¢Numeric references also render ¢
¢ ¢For CSS stylesheets, use the escape in the content property
\A2U+00A2 CENT SIGN — Latin-1 Supplement
Four methods, one glyph — all widely supported
❓ Frequently Asked Questions
¢ (named entity), ¢ (hex), ¢ (decimal), or \A2 in CSS content. All produce ¢.U+00A2 (CENT SIGN). Latin-1 Supplement block (U+0080–U+00FF). Hex 00A2, decimal 162. Represents one cent (1/100 of a currency unit).¢, ¢, or ¢) go directly in markup. The CSS escape \A2 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.¢ is the named HTML entity for U+00A2. You can also use ¢ (decimal) or ¢ (hex).Explore More HTML Entities!
Discover 1500+ HTML character references — currency symbols, diacritics, arrows, math operators, and more.
8 people found this page helpful
