More
More
Small d with Stroke HTML entity đ
đ is the HTML entity for Small d with Stroke đ (U+0111). Copy the decimal đ and hex đ codes plus CSS, JavaScript, Python and URL escapes.
- Entity
đ- Code point
- U+0111
- Unicode name
- LATIN SMALL LETTER D WITH STROKE
- Block
- Latin Extended-A
- Category
- Lowercase letter (Ll)
- 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: "\111";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u0111"Also valid in JSON. | |
| Python | "\u0111"Python 3 string literal. | |
| Python by name | "\N{LATIN SMALL LETTER D WITH STROKE}"Readable alternative using the Unicode name. | |
| URL | %C4%91Percent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | C4 912 bytes. | |
| UTF-16 | 01111 code unit, which is what JavaScript length counts. |
When to use it
đ writes U+0111 (Small d with Stroke), a small letter from the Unicode Latin Extended-A block, encoded since Unicode 1.1. On a page saved as UTF-8 the letter can simply be typed; the entity helps in ASCII-only templates and code samples.
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 latin letters with accents
ēSmall e with MacronďSmall d with CaronĖCapital E with Dot AboveĎCapital D with CaronėSmall e with Dot AbovečSmall c with CaronĘCapital E with OgonekČCapital C with Caron
All latin letters with accents · 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).