HTML Entity for Lowercase B (b)

What You'll Learn
How to display the lowercase letter b in HTML using entity methods. The letter b is the second letter of the Latin alphabet (U+0062) and is part of the Basic Latin block. In most cases you can type it directly; numeric or CSS entities are useful when escaping, generating content via CSS, or ensuring correct encoding.
This character can be displayed using the character itself, a hexadecimal reference, a decimal reference, or a CSS escape in the content property. There is no named HTML entity like &b; for this letter.
⚡ Quick Reference — Lowercase B Entity
U+0062Basic Latin (ASCII)
bHexadecimal reference
bDecimal reference
bType directly (no named entity)
Name Value
──────────── ──────────
Unicode U+0062
Hex code b
HTML code b
Named entity (none — use b directly)
CSS code \62
Meaning Latin small letter b
Related U+0042 = B (uppercase)
Block Basic Latin (U+0000–U+007F)Complete HTML Example
A simple example showing the lowercase letter b using hexadecimal code, decimal HTML code, the character directly, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\62";
}
</style>
</head>
<body>
<p>Symbol (hex): b</p>
<p>Symbol (decimal): b</p>
<p>Symbol (direct): b</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>🌐 Browser Support
The lowercase letter b (U+0062) is universally supported in all browsers and platforms as part of Basic Latin:
👀 Live Preview
See the lowercase letter b in common text contexts:
🧠 How It Works
Hexadecimal Code
b uses the Unicode hexadecimal value 62 to display the letter. The x prefix indicates hexadecimal format.
Decimal HTML Code
b uses the decimal Unicode value 98 to display the same character. This is the ASCII/Unicode decimal for b.
Direct Character
Type b directly in HTML. There is no named entity like &b;; the character itself is the standard approach in body text.
CSS Entity
\62 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All methods produce the glyph: b. Unicode U+0062 sits in Basic Latin. The uppercase form is U+0042 (B). In normal text, typing b is preferred.
Use Cases
The lowercase letter b (or its entity forms) is commonly used in:
Standard character in paragraphs, articles, and any Latin-script text. Usually typed directly.
When building HTML in code, using b or b ensures correct output regardless of encoding context.
Using \62 in the CSS content property to insert b via ::before or ::after.
Teaching the alphabet, phonics, or character encoding; entity codes clarify the exact character.
Documentation and tutorials that explain how to represent Basic Latin characters using HTML entities.
In some contexts, numeric entities can help avoid injection or encoding issues when the raw character might be misinterpreted.
CSS content or list-style may use the character via entity for styling or labeling.
💡 Best Practices
Do
- Type
bdirectly in body content; use entities only when necessary - Serve pages as UTF-8 so Basic Latin characters render without entities
- Use numeric references (
borb) when escaping is required - Use
\62in CSScontentwhen generating the letter via pseudo-elements - Remember lowercase b is U+0062 and uppercase B is U+0042 when case matters
Don’t
- Overuse numeric entities for
bin normal readable text - Expect a named HTML entity like
&b;—none exists for this letter - Put CSS escape
\62in HTML text nodes - Confuse plain
b(U+0062) with extended variants like ɓ (b with hook) - Mix entity styles randomly in one file without reason
Key Takeaways
Type b directly, or use hex/decimal references
b bFor CSS stylesheets, use the escape in the content property
\62Unicode U+0062 — LATIN SMALL LETTER B
Second letter of the Latin alphabet (Basic Latin block)
Previous: Lowercase Ae Dash (ǣ) Next: Lowercase B Hook
❓ Frequently Asked Questions
b directly, or use b (hex), b (decimal), or \62 in CSS content. For most content, typing b is standard; use numeric or CSS entities when escaping or generating via CSS.U+0062 (LATIN SMALL LETTER B). Basic Latin block. Hex 62, decimal 98. It is the second letter of the Latin alphabet.::before/::after content, or ensuring encoding in legacy systems. For normal body text, typing b is preferred.b or b) is used in HTML content or attributes. The CSS entity (\62) is used in CSS, e.g. in the content property of pseudo-elements. Both produce b but in different contexts.&b; for the letter b. Use the character b directly, or numeric references b (decimal) or b (hex). Named entities are mainly for characters with special meaning (e.g. <, &).Explore More HTML Entities!
Discover 1500+ HTML character references — letters, symbols, and more.
8 people found this page helpful
