HTML Entity for Uppercase B Script Capital (ℬ)

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

What Is the Uppercase B Script Capital Entity?

Uppercase B Script Capital (ℬ) is the Unicode character at U+212C (SCRIPT CAPITAL B) in Letterlike Symbols. It is a calligraphic capital B used in mathematical notation — especially Bernoulli numbers.

Remember
Character     ℬ
Unicode       U+212C
Hex entity    ℬ
Decimal       ℬ
Named         ℬ  ℬ  ℬ
CSS escape    \212C
Official name SCRIPT CAPITAL B

All of these produce the same glyph: ℬ. Compare with ordinary Uppercase B (U+0042).

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct characterℬHTML text (UTF-8)
Hex entityℬHTML markup
Decimal entityℬHTML markup
Named entitiesℬ ℬ ℬHTML markup
CSS escape\212CStylesheet content

When to Use Which

SituationUse
Readable math / Bernoulli notationℬ or ℬ / ℬ
Need numeric formℬ or ℬ
Generated text via ::before / ::aftercontent: "\212C"
Ordinary capital letter BUse B (U+0042)
Mathematical script small b𝒷 → U+1D4B7 (different character)

Live Preview

Script capital B in common math contexts.

Large glyph ℬ
Bernoulli sample ℬ0, ℬ1, ℬ2
Compared B ℬ Ƀ
Named entities ℬ → ℬ   ℬ → ℬ
With entities Hex: ℬ | Decimal: ℬ

Complete HTML Example

One page that shows this character with hex, decimal, named entity, CSS, and a Bernoulli sample. Use View Output or open the live editor.

Hex + Decimal + Named + CSS

All common ways to produce ℬ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Uppercase B Script Capital</title>
  <style>
    #point::after {
      content: "\212C";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x212C;</p>
  <p>Using HTML Code: &#8492;</p>
  <p>Using Named Entity: &bernou;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Bernoulli: &Bscr;<sub>0</sub>, &Bscr;<sub>1</sub>, &Bscr;<sub>2</sub></p>
</body>
</html>
Try It Yourself

How It Works

1. Hex / decimal: U+212C → &#x212C; or &#8492; in HTML.

2. Named: &bernou;, &Bernoullis;, and &Bscr; all map to the same code point.

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

4. Bernoulli sample: pairs the script B with <sub> for a common math notation pattern.

Pitfalls & Tips

Common mistakes when working with this character.

Named

Three names, one glyph

&bernou;, &Bernoullis;, and &Bscr; are aliases. Pick one style per project.

Look-alikes

Not ordinary B

U+212C is script/calligraphic. U+0042 is ordinary B. Do not substitute them in math text.

Case

&bscr; is different

&bscr; is U+1D4B7 (mathematical script small b), not a lowercase of U+212C.

CSS vs HTML

Do not mix escapes

\212C belongs in CSS. Named/numeric entities belong in HTML.

Fonts

Check Letterlike Symbols coverage

Some fonts omit U+212C. Prefer fonts with good math / Letterlike Symbols support.

Semicolon

End references

Always finish with ; — write &Bscr;, not &Bscr.

Browser Support

Uppercase B Script Capital / SCRIPT CAPITAL B (U+212C) and its entity forms (&#x212C;, &#8492;, &bernou;, &Bernoullis;, &Bscr;, CSS \\212C) are supported in all mainstream browsers. Glyph shape depends on the font.

✓ Universal support

Uppercase B Script Capital

Encode with named, hex, decimal, or CSS escape — or paste the character in UTF-8 HTML.

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+212C / entities Full support

Bottom line: Prefer &Bscr; or &bernou; for readable markup; use \\212C only inside CSS content.

Key Takeaways

  • Unicode: this character is U+212C (decimal 8492) — SCRIPT CAPITAL B.
  • HTML: use &Bscr;, &bernou;, &Bernoullis;, &#x212C;, or &#8492;.
  • CSS: use \212C inside content for generated text.
  • Watch out: U+212C ≠ U+0042; &bscr; is a different code point.

One line: U+212C → &Bscr; / &#x212C; / CSS \212C.

Frequently Asked Questions

Use &#x212C; (hex), &#8492; (decimal), a named entity (&bernou;, &Bernoullis;, or &Bscr;), or the CSS escape \212C in the content property. All render U+212C.
U+212C (hex 212C, decimal 8492). Unicode names it SCRIPT CAPITAL B. It belongs to Letterlike Symbols (U+2100–U+214F) and is often used for Bernoulli numbers.
Yes. HTML5 defines &bernou;, &Bernoullis;, and &Bscr; — all map to U+212C.
U+212C is a script/calligraphic capital B. Ordinary B is U+0042. &bscr; maps to U+1D4B7 (MATHEMATICAL SCRIPT SMALL B), which is a different character.
HTML entities (&#8492;, &#x212C;, or named forms) go in markup. The CSS escape \212C is used in stylesheets (usually in the content property of ::before/::after). Both render the same glyph.
Use it in mathematical or scientific text that needs a script capital B — for example Bernoulli numbers (ℬₙ). Prefer a named entity when readability matters.

Did you know?

This character is Unicode U+212C (decimal 8492) — official name SCRIPT CAPITAL B in Letterlike Symbols. HTML5 defines three named entities: &bernou;, &Bernoullis;, and &Bscr;. It is often used for Bernoulli numbers in math notation.

Next: Uppercase B Six

Learn the HTML entity for Uppercase B Six — 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