How to Type ď (D with caron) on HTML
Typing ď (d with caron) on HTML takes a few seconds once you know the trick. The short answer is ď. Read on for step-by-step instructions, the uppercase Ď and what to do when a method does not work.
ď on HTML: ď
Ď on HTML: Ď
Or copy it:
Method 1: Codes for web pages
| Format | Code for ď |
|---|---|
| Decimal entity | ď |
| Hex entity | ď |
| CSS content | content: "\010F"; |
| JavaScript | "\u010F" |
| URL encoded | %C4%8F |
| UTF-8 bytes | C4 8F |
Method 2: Type it directly with UTF-8
If your page starts with <meta charset="utf-8"> and the file is saved as UTF-8, you can paste ď straight into the HTML. Entities are only needed when your editor or database cannot store the character.
Method 3: Watch for normalization
ď can also be written as d plus a combining mark. Both look the same but compare as different strings. In JavaScript, call str.normalize("NFC") before comparing or searching.
How to type the capital Ď
The uppercase form works the same way with Shift added where a letter is typed.
Codes for web pages
| Format | Code for Ď |
|---|---|
| Decimal entity | Ď |
| Hex entity | Ď |
| CSS content | content: "\010E"; |
| JavaScript | "\u010E" |
| URL encoded | %C4%8E |
| UTF-8 bytes | C4 8E |
Type it directly with UTF-8
If your page starts with <meta charset="utf-8"> and the file is saved as UTF-8, you can paste Ď straight into the HTML. Entities are only needed when your editor or database cannot store the character.
About the letter ď
ď is Unicode U+010F, named LATIN SMALL LETTER D WITH CARON. It is used in Czech and Slovak. A small v above a letter, called háček in Czech and kvačica in Croatian. It softens consonants (č, š, ž, ř) and marks the third tone in Pinyin (ǎ, ǐ). See the ď character page for every code and shortcut.
Troubleshooting
- If you see à and other symbols, the file is UTF-8 but the browser reads it as Windows-1252. Add the meta charset tag.
- Named entities are case sensitive: É and é are different letters.
- In XML and XHTML only five named entities exist, so use numeric codes there.
Frequently asked questions
What is the shortcut for ď on HTML?
ď.
Can I just copy and paste ď?
Yes. Click the copy button above, then paste with Ctrl+V on Windows and Chromebook, Cmd+V on a Mac, or touch and hold and choose Paste on a phone.
What is the Unicode code for ď?
U+010F. In HTML it is ď.
Related guides
- How to Type ď (D with caron) on Windows
- How to Type ď (D with caron) on Mac
- How to Type ď (D with caron) on iPhone
- How to Type ď (D with caron) on Android
- How to Type ď (D with caron) on Microsoft Word
- How to Type ď (D with caron) on Google Docs
- How to Type ą (A with ogonek) on HTML
- How to Type ć (C with acute) on HTML
- How to Type đ (D with stroke) on HTML
- How to Type ę (E with ogonek) on HTML