Tips for Spanish–language Websites: HTML Diacritics Code
Diacritics
When using HTML, diacritics [los acentos gráficos] must be also coded. For example:
- Página = Página
Each character and its code is listed below:
| Number | Entity | |
|---|---|---|
| á | á | á |
| é | é | é |
| í | í | í |
| ó | ó | ó |
| ñ | ñ | ñ |
| ú | ú | ú |
| ü | ü | ü |
| Á | Á | Á |
| É | É | É |
| Í | Í | Í |
| Ó | Ó | Ó |
| Ú | Ú | Ú |
| Ü | Ü | Ü |
| Ñ | Ñ | Ñ |
| ª | ª | ª |
| º | º | º |
Punctuation
| Entity | |
| – | – |
| — | — |
| ¿ | ¿ |
| ¡ | ¡ |
| « | « |
| » | » |
| " | " (to open and close) |
Page Updated or Reviewed: June 29, 2007
