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. More from Lifewire Get HTML Codes for Romanian Language Characters HTML Codes for Czech, Slovak, and Slovenian Language Characters Learn the Integral HTML Codes for Russian (Cyrillic) Characters HTML Codes for French Language Characters How to Get HTML Codes for Greek Language Characters How to Use Special Characters in HTML How to Employ HTML Codes for German Language Characters Create a New Web Page Using Notepad Adding Images to Your Web Pages How to Embed Google Calendar on Your Website How to Best Use Meta Charset Tags for Character Encoding in HTML5 How to Name HTML Files HTML Code for Common Symbols What Is Pre-Formatted Text? Writing HTML Code in Dreamweaver What Are Markup Languages?