More
More
Rightwards Arrow from Bar to Black Diamond HTML entity ⤠
⤠: HTML entity for Rightwards Arrow from Bar to Black Diamond ⤠ (U+2920), with decimal, hex, CSS, JavaScript, Python and URL codes to copy.
- Entity
⤠- Code point
- U+2920
- Unicode name
- RIGHTWARDS ARROW FROM BAR TO BLACK DIAMOND
- 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: "\2920";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u2920"Also valid in JSON. | |
| Python | "\u2920"Python 3 string literal. | |
| Python by name | "\N{RIGHTWARDS ARROW FROM BAR TO BLACK DIAMOND}"Readable alternative using the Unicode name. | |
| URL | %E2%A4%A0Percent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | E2 A4 A03 bytes. | |
| UTF-16 | 29201 code unit, which is what JavaScript length counts. |
When to use it
⤠ writes U+2920 (Rightwards Arrow from Bar to Black Diamond), 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
⤤North East Arrow with Hook⤞Rightwards Arrow to Black Diamond⤥South East Arrow with Hook⤝Leftwards Arrow to Black Diamond⤦South West Arrow with Hook⤜Rightwards Double Arrow-Tail⤧North West Arrow and North East Arrow⤛Leftwards Double Arrow-Tail
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).