How to Type ř (R with caron) on HTML
Typing ř (r 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: "\0159"; |
| JavaScript | "\u0159" |
| URL encoded | %C5%99 |
| UTF-8 bytes | C5 99 |
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 r 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: "\0158"; |
| JavaScript | "\u0158" |
| URL encoded | %C5%98 |
| UTF-8 bytes | C5 98 |
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+0159, named LATIN SMALL LETTER R WITH CARON. It is used in Czech. 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+0159. In HTML it is ř.
Related guides
- How to Type ř (R with caron) on Windows
- How to Type ř (R with caron) on Mac
- How to Type ř (R with caron) on iPhone
- How to Type ř (R with caron) on Android
- How to Type ř (R with caron) on Microsoft Word
- How to Type ř (R with caron) on Google Docs
- How to Type œ (Oe ligature (ethel)) on HTML
- How to Type ŕ (R with acute) on HTML
- How to Type ś (S with acute) on HTML
- How to Type ŝ (S with circumflex) on HTML