HTML Entity for Lowercase B (b)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+0062

What Is the Lowercase B Entity?

Lowercase b (b) is the Basic Latin character at Unicode U+0062 (LATIN SMALL LETTER B). You can type b directly in HTML, or write it with a numeric character reference when you need an explicit entity form.

Remember
Character     b
Unicode       U+0062
Hex entity    b
Decimal       b
CSS escape    \0062
Named entity  (none)

All of these produce the same glyph: b. Prefer typing b in normal page text; use entities for CSS content, generated markup, or when encoding must be explicit.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct characterbHTML text (default choice)
Hex entitybHTML markup
Decimal entitybHTML markup
CSS escape\0062Stylesheet content
Named entityNoneHTML5 does not define one

When to Use Which

SituationUse
Normal paragraphs, headings, labelsType b
Need an entity in HTML sourceb or b
Generated text via ::before / ::aftercontent: "\0062"
Capital letter BType B or see Uppercase B (U+0042)
IPA b with hook ɓSee Lowercase B Hook

Live Preview

Lowercase b rendered in common text contexts.

Inline text The letter b follows a in the alphabet.
Large glyph b
Hex entity b → b
vs B / ɓ b  |  B  |  ɓ
With entities Hex: b | Decimal: b

Complete HTML Example

One page that shows lowercase b with the hex entity, decimal entity, CSS escape, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

All four ways to produce b in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Lowercase B (b)</title>
  <style>
    #point::after {
      content: "\0062";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x62;</p>
  <p>Using HTML Code: &#98;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Typed directly: b</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+0062 → &#x62; in HTML. The browser turns it into b.

2. Decimal: same code point as 98 → &#98;. Same result as hex.

3. CSS: use \0062 in content (not an HTML entity). #point::after appends that b after the paragraph text.

4. Typed b: best for normal text. All four lines show the same letter.

Pitfalls & Tips

Common mistakes when working with lowercase b.

Named?

No &b;

HTML5 does not define a named entity for ASCII letters. Use numeric forms when needed.

Default

Type b when you can

Entities are for encoding needs — not required for ordinary body text.

Look-alikes

Not B or b-hook

Uppercase B is U+0042. IPA ɓ (b with hook) is U+0253. Keep case and IPA variants distinct.

CSS vs HTML

Do not mix escapes

\0062 belongs in CSS. &#x62; / &#98; belong in HTML.

CSS tip

Prefer padded escapes

Use \0062 (not bare \62 before digits) so the next character is not absorbed into the escape.

Semicolon

End references

Always finish with ; — write &#98;, not &#98.

Browser Support

Lowercase b (U+0062) and its numeric entity forms (&#x62;, &#98;, CSS \\0062) are supported in all mainstream browsers.

✓ Universal support

Lowercase B (b)

Type b, or encode with hex, decimal, or CSS escape — same glyph everywhere.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+0062 Full support

Bottom line: Use a typed b for normal text. Prefer &#x62; or &#98; in HTML when encoding must be explicit, and \\0062 only inside CSS content.

Key Takeaways

  • Unicode: this character is U+0062 (decimal 98).
  • HTML: type b by default — or use &#x62; / &#98;. No named entity.
  • CSS: use \0062 inside content for generated text.
  • Watch out: b ≠ B ≠ IPA ɓ (b with hook).

One line: U+0062 → type b / &#x62; / &#98; / CSS \0062.

Frequently Asked Questions

Use &#x62; (hex), &#98; (decimal), or the CSS escape \0062 in the content property. All render b. In most cases you can also type b directly.
U+0062 (LATIN SMALL LETTER B). Hex 62, decimal 98. It belongs to the Basic Latin (ASCII) block.
No. ASCII letters like b do not have named HTML entities in HTML5. Use numeric references like &#98; or &#x62; when you need an entity form.
Use entities when generating content in CSS, when you want explicit encoding, or when outputting into contexts where escaping is required. For normal body text, typing b directly is usually best.
HTML entities (&#98; or &#x62;) go in markup. The CSS escape \0062 is used in stylesheets (usually in the content property of ::before/::after). Both render b.
No. Uppercase B is U+0042. Lowercase b with hook (ɓ) is U+0253. They are different characters.

Did you know?

Lowercase b is Unicode U+0062 (decimal 98) — LATIN SMALL LETTER B in Basic Latin. HTML5 has no named entity for it — use &#x62; or &#98; when you need an entity form. For normal body text, typing b directly is best.

Next: Lowercase B Hook

Learn the HTML entity for Lowercase B Hook — next in this sequence.

Continue tutorial →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful