The Accent Letters

How to Type đ (D with stroke) on HTML

Published July 3, 2026, 2 min read

The letter đ does not have its own key on an English keyboard, but HTML still makes it easy to type. Use đ, or pick one of the other methods in this guide. đ appears in Croatian and Vietnamese.

đ on HTML: đ

Đ on HTML: Đ

Or copy it:

Method 1: Codes for web pages

FormatCode for đ
Decimal entityđ
Hex entityđ
CSS contentcontent: "\0111";
JavaScript"\u0111"
URL encoded%C4%91
UTF-8 bytesC4 91

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

FormatCode for Đ
Decimal entity&#272;
Hex entity&#x0110;
CSS contentcontent: "\0110";
JavaScript"\u0110"
URL encoded%C4%90
UTF-8 bytesC4 90

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+0111, named LATIN SMALL LETTER D WITH STROKE. It is used in Croatian and Vietnamese. A line through the letter itself. Examples are ø (Danish, Norwegian), ł (Polish), đ (Vietnamese, Croatian) and ħ (Maltese). See the đ character page for every code and shortcut.

Troubleshooting

Frequently asked questions

What is the shortcut for đ on HTML?

&#273;.

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+0111. In HTML it is &#273;.

Related guides

All accent shortcuts for HTML