How to Type ž (Z with caron) on HTML
Typing ž (z 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: "\017E"; |
| JavaScript | "\u017E" |
| URL encoded | %C5%BE |
| UTF-8 bytes | C5 BE |
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 z 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: "\017D"; |
| JavaScript | "\u017D" |
| URL encoded | %C5%BD |
| UTF-8 bytes | C5 BD |
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+017E, named LATIN SMALL LETTER Z WITH CARON. It is used in Czech, Slovak, Finnish, Croatian, Slovenian, Latvian, Lithuanian and Estonian. 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+017E. In HTML it is ž.
Related guides
- How to Type ž (Z with caron) on Windows
- How to Type ž (Z with caron) on Mac
- How to Type ž (Z with caron) on iPhone
- How to Type ž (Z with caron) on Android
- How to Type ž (Z with caron) on Microsoft Word
- How to Type ž (Z with caron) on Google Docs
- How to Type ÿ (Y with umlaut) on HTML
- How to Type š (S with caron) on HTML
- How to Type č (C with caron) on HTML
- How to Type ū (U with macron) on HTML