More
More
Planck Constant over Two Pi HTML entity ℏ
ℏ is the HTML entity for Planck Constant over Two Pi ℏ (U+210F). Copy ℏ, ℏ and the CSS, JavaScript, Python and URL escapes.
- Entity
ℏ- Also written
ℏℏℏ- Code point
- U+210F
- Unicode name
- PLANCK CONSTANT OVER TWO PI
- Block
- Letterlike Symbols
- Category
- Lowercase letter (Ll)
- Since
- Unicode 1.1
- Defined in
- HTML5
Codes to copy
| HTML named | ℏWorks in HTML; in XML only & < > " ' are predefined. | |
|---|---|---|
| HTML decimal | ℏWorks in HTML and XML. | |
| HTML hex | ℏWorks in HTML and XML. | |
| CSS | content: "\210F";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u210F"Also valid in JSON. | |
| Python | "\u210f"Python 3 string literal. | |
| Python by name | "\N{PLANCK CONSTANT OVER TWO PI}"Readable alternative using the Unicode name. | |
| URL | %E2%84%8FPercent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | E2 84 8F3 bytes. | |
| UTF-16 | 210F1 code unit, which is what JavaScript length counts. |
When to use it
ℏ writes U+210F (Planck Constant over Two Pi), a small letter from the Unicode Letterlike Symbols block, encoded since Unicode 1.1. These characters exist mostly for compatibility with older character sets; for anything beyond simple cases, <sup>, <sub> or MathML give more control.
The name comes from the HTML5 list (much of it shared with MathML), so it works in every current browser but not in XML or XHTML served as XML, where the numeric reference is the safe choice.
More letterlike symbols, numbers and fractions
ℑBlack-Letter Capital IℍDouble-Struck Capital HℒScript Capital LℌBlack-Letter Capital HℓScript Small LℋScript Capital HℕDouble-Struck Capital N℅Care of
All letterlike symbols, numbers and fractions · Every HTML entity · Encode or decode text
Source: the WHATWG HTML Standard list of named character references and the Unicode Character Database (Unicode 18.0).