More
More
Rightwards Arrow from Bar HTML entity ↦
↦ is the HTML entity for Rightwards Arrow from Bar ↦ (U+21A6). Copy ↦, ↦ and the CSS, JavaScript, Python and URL escapes.
- Entity
↦- Also written
↦↦- Code point
- U+21A6
- Unicode name
- RIGHTWARDS ARROW FROM BAR
- Block
- Arrows
- Category
- Math symbol (Sm)
- 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: "\21A6";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u21A6"Also valid in JSON. | |
| Python | "\u21a6"Python 3 string literal. | |
| Python by name | "\N{RIGHTWARDS ARROW FROM BAR}"Readable alternative using the Unicode name. | |
| URL | %E2%86%A6Percent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | E2 86 A63 bytes. | |
| UTF-16 | 21A61 code unit, which is what JavaScript length counts. |
When to use it
↦ writes U+21A6 (Rightwards Arrow from Bar), a maths 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
↩Leftwards Arrow with Hook↤Leftwards Arrow from Bar↪Rightwards Arrow with Hook↣Rightwards Arrow with Tail↫Leftwards Arrow with Loop↢Leftwards Arrow with Tail↬Rightwards Arrow with Loop↡Downwards 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).