More
More
Broken Bar HTML entity ¦
¦ is the HTML entity for Broken Bar ¦ (U+00A6). Copy the decimal ¦ and hex ¦ codes plus CSS, JavaScript, Python and URL escapes.
- Entity
¦- Legacy form
¦(no semicolon)- Code point
- U+00A6
- Unicode name
- BROKEN BAR
- Block
- Latin-1 Supplement
- Category
- Other symbol (So)
- Since
- Unicode 1.1
- Defined in
- HTML 4.01 and 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: "\A6";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u00A6"Also valid in JSON. | |
| Python | "\u00a6"Python 3 string literal. | |
| Python by name | "\N{BROKEN BAR}"Readable alternative using the Unicode name. | |
| URL | %C2%A6Percent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | C2 A62 bytes. | |
| UTF-16 | 00A61 code unit, which is what JavaScript length counts. |
When to use it
¦ writes U+00A6 (Broken Bar), a symbol from the Unicode Latin-1 Supplement block, encoded since Unicode 1.1. Symbols vary in shape and size between fonts, so check how it renders in the font your page uses.
The name dates from HTML 4, so it works in every browser and in old email clients.
Browsers also accept the legacy form ¦ without a semicolon, for compatibility with old pages; new HTML should always end the reference with a semicolon.
More symbols and signs
©Copyright Sign®Registered Sign°Degree Sign̑Combining Inverted Breve⃛Combining Three Dots Above⃜Combining Four Dots Above™Trademark Sign⌅Projective
All symbols and signs · 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).