More
More
Upwards Arrow to Bar HTML entity ⤒
⤒ is the HTML entity for Upwards Arrow to Bar ⤒ (U+2912). Copy ⤒, ⤒ and the CSS, JavaScript, Python and URL escapes.
- Entity
⤒- Code point
- U+2912
- Unicode name
- UPWARDS ARROW TO BAR
- Block
- Supplemental Arrows-B
- Category
- Math symbol (Sm)
- Since
- Unicode 3.2
- 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: "\2912";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u2912"Also valid in JSON. | |
| Python | "\u2912"Python 3 string literal. | |
| Python by name | "\N{UPWARDS ARROW TO BAR}"Readable alternative using the Unicode name. | |
| URL | %E2%A4%92Percent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | E2 A4 923 bytes. | |
| UTF-16 | 29121 code unit, which is what JavaScript length counts. |
When to use it
⤒ writes U+2912 (Upwards Arrow to Bar), a maths symbol from the Unicode Supplemental Arrows-B block, encoded since Unicode 3.2. Specialist notation like this usually belongs in MathML, which positions it correctly; the entity is for occasional use in running text.
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 advanced maths and arrows
⤖Rightwards Two-Headed Arrow with Tail⤐Rightwards Two-Headed Triple Dash Arrow⤙Leftwards Arrow-Tail⤏Rightwards Triple Dash Arrow⤚Rightwards Arrow-Tail⤎Leftwards Triple Dash Arrow⤛Leftwards Double Arrow-Tail⤍Rightwards Double Dash Arrow
All advanced maths and arrows · 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).