More
More
Capital D with Stroke HTML entity Đ
Đ is the HTML entity for Capital D with Stroke Đ (U+0110). Copy Đ, Đ and the CSS, JavaScript, Python and URL escapes.
- Entity
Đ- Code point
- U+0110
- Unicode name
- LATIN CAPITAL LETTER D WITH STROKE
- Block
- Latin Extended-A
- Category
- Uppercase letter (Lu)
- 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: "\110";In a stylesheet, for ::before and ::after. | |
| JavaScript | "\u0110"Also valid in JSON. | |
| Python | "\u0110"Python 3 string literal. | |
| Python by name | "\N{LATIN CAPITAL LETTER D WITH STROKE}"Readable alternative using the Unicode name. | |
| URL | %C4%90Percent-encoded UTF-8 bytes, for a path or query value. | |
| UTF-8 bytes | C4 902 bytes. | |
| UTF-16 | 01101 code unit, which is what JavaScript length counts. |
When to use it
Đ writes U+0110 (Capital D with Stroke), a capital 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
ĒCapital E with MacronĎCapital D with CaronēSmall e with MacrončSmall c with CaronĖCapital E with Dot AboveČCapital C with CaronėSmall e with Dot AboveċSmall c with Dot Above
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).