More
More
Leftwards Arrow from Bar HTML entity ↤
↤ is the HTML entity for Leftwards Arrow from Bar ↤ (U+21A4). Copy ↤, ↤ and the CSS, JavaScript, Python and URL escapes.
- Entity
↤- Also written
↤- Code point
- U+21A4
- Unicode name
- LEFTWARDS ARROW FROM BAR
- Block
- Arrows
- Category
- Other symbol (So)
- 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: "\21A4";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u21A4"Also valid in JSON. | |
| Python | "\u21a4"Python 3 string literal. | |
| Python by name | "\N{LEFTWARDS ARROW FROM BAR}"Readable alternative using the Unicode name. | |
| URL | %E2%86%A4Percent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | E2 86 A43 bytes. | |
| UTF-16 | 21A41 code unit, which is what JavaScript length counts. |
When to use it
↤ writes U+21A4 (Leftwards Arrow from Bar), a symbol from the Unicode Arrows block, encoded since Unicode 1.1. Arrow shapes vary a lot between fonts; when an arrow is the only content of a link or button, give it a text label as well.
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 arrows
↦Rightwards Arrow from Bar↢Leftwards Arrow with Tail↧Downwards Arrow from Bar↡Downwards Two Headed Arrow↩Leftwards Arrow with Hook↠Rightwards Two Headed Arrow↪Rightwards Arrow with Hook↟Upwards Two Headed Arrow
All 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).