More
More
Lozenge HTML entity ◊
◊ is the HTML entity for Lozenge ◊ (U+25CA). Copy the decimal ◊ and hex ◊ codes plus CSS, JavaScript, Python and URL escapes.
- Entity
◊- Also written
◊- Code point
- U+25CA
- Unicode name
- LOZENGE
- Block
- Geometric Shapes
- 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: "\25CA";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u25CA"Also valid in JSON. | |
| Python | "\u25ca"Python 3 string literal. | |
| Python by name | "\N{LOZENGE}"Readable alternative using the Unicode name. | |
| URL | %E2%97%8APercent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | E2 97 8A3 bytes. | |
| UTF-16 | 25CA1 code unit, which is what JavaScript length counts. |
When to use it
The lozenge, an outlined diamond from HTML 4, used as a bullet or marker and in formal logic for 'possibly'. It is not the diamond card suit.
The name dates from HTML 4, so it works in every browser and in old email clients.
More shapes and box drawing
◬White Up-Pointing Triangle with Dot◂Black Left-Pointing Small Triangle◯Large Circle▿White Down-Pointing Small Triangle▾Black Down-Pointing Small Triangle▽White Down-Pointing Triangle▹White Right-Pointing Small Triangle▸Black Right-Pointing Small Triangle
All shapes and box drawing · 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).