Leftwards Arrow to Bar HTML entity ⇤

⇤ is the HTML entity for Leftwards Arrow to Bar ⇤ (U+21E4). Copy ⇤, ⇤ and the CSS, JavaScript, Python and URL escapes.

Entity
⇤
Also written
⇤
Code point
U+21E4
Unicode name
LEFTWARDS ARROW TO 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.
CSScontent: "\21E4";In a stylesheet, for ::before and ::after.
JavaScript"\u21E4"Also valid in JSON.
Python"\u21e4"Python 3 string literal.
Python by name"\N{LEFTWARDS ARROW TO BAR}"Readable alternative using the Unicode name.
URL%E2%87%A4Percent-encoded UTF-8 bytes, for a path or query value.
UTF-8 bytesE2 87 A43 bytes.
UTF-1621E41 code unit, which is what JavaScript length counts.

When to use it

⇤ writes U+21E4 (Leftwards Arrow to 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

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).