How to Type ó (O with acute) on HTML
ó is o with acute, a letter used in Spanish, Portuguese, Italian and Polish. On HTML, the quickest way to get it is ó. This guide covers every method that works, including the capital Ó and fixes for common problems.
ó on HTML: ó
Ó on HTML: Ó
Or copy it:
Method 1: Codes for web pages
| Format | Code for ó |
|---|---|
| Named entity | ó |
| Decimal entity | ó |
| Hex entity | ó |
| CSS content | content: "\00F3"; |
| JavaScript | "\u00F3" |
| URL encoded | %C3%B3 |
| UTF-8 bytes | C3 B3 |
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 o 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 Ó |
|---|---|
| Named entity | Ó |
| Decimal entity | Ó |
| Hex entity | Ó |
| CSS content | content: "\00D3"; |
| JavaScript | "\u00D3" |
| URL encoded | %C3%93 |
| UTF-8 bytes | C3 93 |
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+00F3, named LATIN SMALL LETTER O WITH ACUTE. It is used in Spanish, Portuguese, Italian, Polish, Czech, Slovak, Hungarian and Icelandic. A short line slanting up to the right. It marks stress in Spanish (canción), a closed vowel in French (été), vowel length in Czech, Hungarian and Irish, and a rising tone in Vietnamese and 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+00F3. In HTML it is ó.
Related guides
- How to Type ó (O with acute) on Windows
- How to Type ó (O with acute) on Mac
- How to Type ó (O with acute) on iPhone
- How to Type ó (O with acute) on Android
- How to Type ó (O with acute) on Microsoft Word
- How to Type ó (O with acute) on Google Docs
- How to Type é (E with acute) on HTML
- How to Type í (I with acute) on HTML
- How to Type ú (U with acute) on HTML