Almost all applications support Spanish accents. Guidelines for typing and using accents are given below. lf you need to refer to additional characters, look under the Accents section.
In Windows, combinations of the ALT key plus a numeric code can be used to type a non-English character (accented letter or punctuation symbol) in any Windows application. More detailed instructions about typing accents with ALT keys are available. Additional options for entering accents in Windows are also listed in the Accents section of this Web site.
|º||ALT+0186 (Masculine Ordinal)|
|ª||ALT+0170 (Feminine Ordinal)|
|«||ALT+0171 (Left Angle Quote)|
|»||ALT+0187 (Right Angle Quote)|
|Acute Accent (e.g.Ó)||
('+V) - Type apostrophe (singe quote), then the vowel.
Type SHIFT+~, then either lowercase n or capital N.
("+V) - Type apostrophe (singe quote), then lowercase or capital U.
RightAlt+? (You must use the Alt key on the Right)
If you wish to simulate a non U.S. keyboard, follow the instructions for Activating Keyboard Locales to activate and switch Microsoft keyboards.
|Acute Accent (e.g.Ó)||
Type Option+E, then the vowel. For instance, to type á hold down Option+E, then type lowercase A. To type Á, hold down Option+E, then type capital A.
Type Option+N, then either lowercase N for ñ or capital N for Ñ.
Type Option+U, then either lowercase U for ü or capital U for Ü.
Option+0 (Masculine Ordinal Number Marker)
Shift+Option+2 (may not work for older System 9 fonts)
These are the codes which allow browsers and screen readers to process data as the appropriate language. All letters in codes are lower case.
See Using Encoding and Language Codes for more information on the meaning and implementation of these codes.
Use these codes to input accented letters in HTML. For instance, if you want to type señor you would type señor.
The numbers in parentheses are the numeric codes assigned in Unicode encoding. For instance, because ñ is number 241, señor can also be used to input señor. These numbers are also used with the Windows Alt codes listed above.
Note: Older browsers may not the suport single angle codes (‹ / › for ‹ and ›).
Computers process text by assuming a certain encoding or a system of matching electronic data with visual text characters. Whenever you develop a Web site you need to make sure the proper encoding is specified in the header tags; otherwise the browser may default to U.S. settings and not display the text properly.
To declare an encoding, insert or inspect the following meta-tag at the top of your HTML file, then replace "???" with one of the encoding codes listed above. If you are not sure, use utf-8 as the encoding.
Generic Encoding Template
<meta http-equiv="Content-Type" content="text/html; charset=??? ">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8 ">
The final close slash must be included after the final quote mark in the encoding header tag if you are using XHTML
Declare Unicode in XHTML
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
If no encoding is declared, then the browser uses the default setting, which in the U.S. is typically Latin-1. In that case many Unicode characters could be displayed incorrectly. Also, older browsers such as Netscape 4.7 may not be able to process the entity codes correctly without the "utf-8" declaration.
Language tags are also suggested so that search engines and screen readers parse the language of a page. These are metadata tags which indicate the language of a page, not devices to trigger translation. Visit the Language Tag page to view information on where to insert it.
There are a variety of minority languages spoken in Spain. In most cases, they use the same accented letters as Spanish, but each has its own language code. Below is some information about each language and the language code used to designate the language of a passage.
A non-related language spoken in the border between France and Spain. The language code is eu. For instance, the phrase bi etxe zuri 'two white houses' would be rendered in HTML as
<i lang="eu">bu exte zuri</i>.
Romance language related to Spanish and Catalan spoken in the northern province of Aragon in the Pyrynees. The language code is an.
Romance language related to Spanish and Portuguese spoken in Northwestern Spain in Asturias on the cast. The language code is au .
See the Catalan page for more information.
Romance language related to Spanish and Portuguese spoken on the northwestern portion of Spain north of Portugal. The language code is gl .
A form of Spanish as spoken by the medieval Jewish community. Most Ladino speakers were expelled from Spain in the late 1490s, but settled elsewhere.
Most content in Spanish.
©Penn State University, 2000-2013.
This Web page maintained by Teaching and Learning with Technology, a unit of Information Technology Services. For questions or comments on this Web page, please contact Elizabeth J. Pyatt (firstname.lastname@example.org).
This site uses Unicode to display non-English characters. This site is best viewed in the most recent versions of your browser.
Unicode character names and hexadecimal entity codes are taken from the public Unicode Character Charts.
This publication is available in alternate media upon request.