Internet, Networking, & Security Web Development HTML Codes for Spanish Language Characters Olé! Use the occasional Spanish character in your HTML by Jeremy Girard Writer Author, educator, and director of marketing/head of web design and development at Envision Technology Advisors. our editorial process Twitter Jeremy Girard Updated on March 08, 2020 Pablo Blazquez / Getty Images Web Development CSS & HTML Web Design SQL Tweet Share Email Even if your website is written in only one language and does not include multilingual translations, you may need to add Spanish-language characters to the site occasionally. Use the numerical code or hex code for the specific character in your HTML. The chart below includes the HTML codes necessary to use Spanish characters that are not in the standard character set. Older browsers may not support all these codes, but newer browsers should be fine with them, so test your HTML codes before you use them. Some Spanish characters are part of the Unicode character set, so you need to declare that in the head of your documents, as follows: <meta http-equiv="content-type" content="text/html;charset=utf-8" /> HTML Codes for Spanish Language Characters Here are the different Spanish characters you may want to use. Display Friendly Code Numerical Code Hex Codes Description Á Á Á Á Capital A-acute á á á á Lowercase a-acute É É É É Capital E-acute é é é é Lowercase e-acute Í Í Í Í Capital I-acute í í í í Lowercase i-acute Ñ Ñ Ñ Ñ Capital N-tilde ñ ñ ñ ñ Lowercase n-tilde Ó Ó Ó Ó Capital O-acute ó ó ó ó Lowercase o-acute Ú Ú Ú Ú Capital U-acute ú ú ú ú Lowercase u-acute Ü Ü Ü Ü Capital U-umlaut ü ü ü ü Lowercase u-umlaut « « « « Left angle quotes » » » » Right angle quotes ¿ ¿ ¿ ¿ Inverted question mark ¡ ¡ ¡ ¡ Inverted exclamation point € € € € Euro ₧ ₧ ₧ Peseta How to Use the Spanish HTML Codes In the HTML markup, place these special character codes where you want the Spanish character to appear. These are used similarly to other HTML special character codes that allow you to add characters that are not found on keyboards and therefore cannot be typed into the HTML to display on a web page. These characters codes may be used on an English-language website if you need to display words such as piñata and piña colada. They also work in HTML that displays full Spanish translations, whether you code those web pages by hand and have a full Spanish version of the site or you use an automated approach to multilingual web pages and go with a solution such as Google Translate. Was this page helpful? Thanks for letting us know! Get the Latest Tech News Delivered Every Day Email Address Sign up There was an error. Please try again. You're in! Thanks for signing up. There was an error. Please try again. Thank you for signing up. Tell us why! Other Not enough details Hard to understand Submit