HTML Entity for Digit Three (3)

What You'll Learn
How to display the digit three (3) using HTML numeric entities and a CSS escape. While you can type 3 directly in most content, entity forms help when you need explicit encoding (like CSS content or generated markup).
Digit three is in the Basic Latin (ASCII) block and is referenced as Unicode U+0033.
⚡ Quick Reference — Digit Three Entity
U+0033Basic Latin (ASCII) block
3Hexadecimal reference
3Decimal reference
—No named entity available
Complete HTML Example
This example demonstrates the digit three (3) using hexadecimal code, decimal HTML code, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\0033";
}
</style>
</head>
<body>
<p>Digit 3 using Hexa Decimal: 3</p>
<p>Digit 3 using HTML Code: 3</p>
<p id="point">Digit 3 using CSS Entity: </p>
</body>
</html>🌐 Browser Support
Digit 3 (Unicode U+0033) is supported in all browsers and fonts.
👀 Live Preview
Inline, large, and entity-rendered examples of the digit 3:
🧠 How It Works
Hexadecimal Code
3 uses the Unicode hex value 33.
Decimal HTML Code
3 uses the Unicode decimal value 51.
CSS Entity
\0033 is a CSS escape typically used in content for pseudo-elements.
Same visual result
All methods render 3. Unicode is U+0033 (Basic Latin).
Use Cases
Common places you’ll see digit three (3):
Show exact codes like 3 and 3 in examples.
Use numeric references when generating HTML consistently.
Use in onboarding, checklists, and step-by-step guides.
Phrases like “3 items”, “3 minutes”, and “3-step process”.
💡 Best Practices
Do
- Type
3directly in normal body content - Use entities when you need explicit encoding (CSS
content, generated output, or special contexts) - Use monospace or tabular figures for aligned numeric UI (e.g., versions like
v3.0) - Include context for readability (e.g. “Step 3”, “Top 3”)
Don’t
- Assume there is a named entity for 3 (there isn’t)
- Mix CSS escapes into HTML markup (use them in stylesheets only)
- Confuse digit
3(U+0033) with superscript³(U+00B3) - Overuse entities where a direct character is clearer
Key Takeaways
Digit three is Unicode U+0033
U+0033 3 3For CSS stylesheets, use the escape in the content property
\0033There is no named HTML entity for 3
Prefer typing 3 directly unless you need an entity form
❓ Frequently Asked Questions
3 (hex), 3 (decimal), or \0033 in CSS content. In most cases you can also type 3 directly.U+0033 (hex 0033, decimal 51) in the Basic Latin (ASCII) block.3 is simplest.Explore more HTML entities
Browse the full list of HTML entities and learn how to use them in real projects.
Browse HTML Entities8 people found this page helpful
