Letters With Accents
Có thể bạn quan tâm
This Web page contains lists of special entity codes needed in HTML to generate special characters such as ñ, ¢, ÷ and other characters. Full instructions are in the "Using the Codes" section followed by lists organized by character type. Information on
NOTE: If you are composing Web pages in an HTML editor such as Netscape Composer or FrontPage, the programs may generate the characters based on what is typed in (check the HTML to be sure). Others like Dreamweaver <acronym>M X</acronym> require you to insert characters as symbols in order to generate the code.
This Page
- Letters with Accents - (e.g. ó, ò, ñ)
- Other Foreign Characters - (e.g. ç, ¿, ß)
- Currency Symbols - (e.g. ¢, £, ¥)
- Math Symbols - (e.g. ±, °, ÷)
- Other Punctuation - (e.g. &, ©, §)
- Using the Codes
- Newer Math Codes
- Uniciode Numeric Codes (Experimental) - New Page
- Links to Other References
Letters with Accents
This list is organized by Accent type. To determine the appropriate numeric code, match the accent with the vowel. The general template for each accent is in the left column in blue. For instance&Vcirc; means that all the entity codes for vowels with circumflex accents contain "circ" as part of the code.
NOTE: Numbers in parentheses refer to the numeric position of the character in the Latin-1 encoding scheme.
Example 1: To input the circumflex â (â) in HTML, type in â or â Exampe 2: To input circumflex ô (ô) in HTML, type in ô.
Accent | A | E | I | O | U | Y |
---|---|---|---|---|---|---|
Grave &Vgrave; (Cap) | À À (192) | È È (200) | Ì Ì (204) | Ò Ò (210) | Ù Ù (217) | |
Grave (Lower) | à à (224) | è è (232) | ì ì (236) | ò ò (242) | ù ù (249) | |
Acute &Vacute; (Cap) | Á Á (193) | É É (201) | Í Í (205) | Ó Ó (211) | Ú Ú (218) | Ý Ý (221) |
Acute (Lower) | á á (225) | é é (233) | í í (237) | ó ó (243) | ú ú (250) | ý ý (253) |
Circumflex &Vcirc; (Cap) | Â Â(194) | Ê Ê(202) | Î Î(206) | Ô Ô(212) | Û Û(219) | |
Circumflex (Lower) | â â (226) | ê ê (234) | î î (238) | ô ô (244) | û û (251) | |
Tilde &Vtilde; (Cap) | Ã Ã (195) | -- | Ñ Ñ (209) | Õ Õ (213) | -- | |
Tilde (Lower) | ã ã (227) | -- | ñ ñ (241) | õ õ (245) | -- | |
Umlaut &Vuml; (Cap) | Ä Ä (196) | Ë Ë (203) | Ï Ï (207) | Ö Ö (214) | Ü Ü (220) | Ÿ Ÿ (Yuml;)* |
Umlaut (Lower) | ä ä (228) | ë ë (235) | ï ï (239) | ö ö (246) | ü ü (252) | Ÿ Ÿ (255) |
* The code Ÿ exists, but is not supported in older browsers such as Netscape 4.7. See Ÿ = Ÿ test.
If you are having problems inputting these codes, please review the instructions for using the codes on top of this Web page.
Top of Page
Other Foreign Characters
NOTE: Numbers in parentheses refer to the numeric position of the character in the Latin-1 encoding scheme.
Example 1: To generate the upside-down question mark ¿,type ¿ into the HTML code. Example 2: To generate French oe ligature œ, type œ into the HTML code.
SYMBOL | NAME | CODE | NOTES |
---|---|---|---|
¡ | Upside-down exclamation point. | ¡ (161) | |
¿ | Upside-down question mark. | ¿ (191) | |
Ç,ç | French C cedille (caps/lowercase) | Ç (199) ç (231) | |
Œ,œ | French O-E ligature (caps/lowercase) | Œ œ | œ and Œ have been proposed, but are not supported on older browsers such as Netscape 4.7. See Test below. œ = œ Œ = Œ |
ß | German double S | ß (223) | |
Ø,ø | O slash (caps/lowercase) | Ø (216) ø (248) | |
Å,å | A ring, Angstrom sign (caps/lowercase) | Å (197) å (229) | |
Æ,æ | A-E ligature (caps/lowercase) | Æ (198) æ (230) | |
Þ,þ | Old English thorn (caps/lowercase) | Þ (222) þ (254) | |
Ð,ð | Old English eth (caps/lowercase) | Ð (208) ð (240) | |
« » | Spanish style double angle quote mark. | « (171) » (187) |
If you are having problems inputting these codes, please review the instructions for using the codes on top of this Web page.
Top of Page
Currency Symbols
NOTE: Numbers in parentheses refer to the numeric position of the character in the Latin-1 encoding scheme.
Example: To generate the cent sign ¢,type ¢ into the HTML code.
SYMBOL | NAME | CODE |
---|---|---|
¢ | cent sign | ¢ (162) |
£ | British Pound | £ (163) |
¥ | Japanese Yen | ¥ (165) |
€ | Euro Symbol | € (--) |
¤ | Generic currency symbol | ¤ (164) |
If you are having problems inputting these codes, please review the instructions for using the codes on top of this Web page.
Top of Page
Math Symbols
NOTE: Numbers in parentheses refer to the numeric position of the character in the Latin-1 encoding scheme.
Example: To generate the division sign ÷,type ÷ into the HTML code.
SYMBOL | NAME | CODE |
---|---|---|
> | Greater than | > (62) |
< | Less than | < (60) |
÷ | Division symbol | ÷ (247) |
° | Degree symbol | ° (176) |
¬ | Not symbol | ¬ (172) |
± | Plus/minus symbol | ± (177) |
µ | Micro | µ (181) |
If you are having problems inputting these codes, please review the instructions for using the codes on top of this Web page.
Top of Page
Other Punctuation
NOTE: Numbers in parentheses refer to the numeric position of the character in the Latin-1 encoding scheme.
Example 1: To generate the and symbol & (&) type in &. Example 2: To generate the string & in HTML, type &amp;.
SYMBOL | NAME | CODE |
---|---|---|
(blank space) | Inserts a non-breaking blank space | (--) |
& | Ampersand | & (38) |
" | Regular quotes are fine, but avoid "Smart Quotes" | " (34) |
© | Copyright symbol | © (169) |
® | Registered symbol | ® (174) |
™ | Trademark symbol | ™(or ™ in newer browsers) |
¶ | Paragraph symbol | ¶ (182) |
• | Big List Dot | • |
· | Medium List Dot | · (or · in newer browsers) |
§ | Section Symbol | § (167) |
– | en-dash | – (or – in newer browsers) |
— | em-dash | — (or — in newer browsers) |
If you are having problems inputting these codes, please review the instructions for using the codes on top of this Web page.
Top of Page
Using the Codes
To input non-English into an Web page, HTML employs a series of entity codes enclosed with an & on the left side and a ; (semi-colon) on the right.
HTML SPECIAL CHARACTER TEMPLATE &(code);For example, the code for ç is "ccedil". To generate French ç in HTML, type the code ç into your HTML document as in:
HTML - fran&cecedil;ais Result - français
Here's another example using ¢ for ¢.
HTML - It cost 5¢. Result - It cost 5¢.
Some characters like œ (#156) are known by a number, not an entity code. For these characters the template is:
HTML CHARACTER NUMBER TEMPLATE &#(number);
For example to input sœur, the French word for sister you use the following code:
HTML - sœur 'sister' Result - sœur 'sister'
Troubleshooting the Encoding
If one of the numeric codes (e.g. œ for œ) fails to display, try including the following meta tags in the header (between the <head></head>) tags.
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> < meta http-equiv="Content-Type" content="text/html; charset=win 1252">
This will force the browser to switch to the Western European Latin 1 or Windows-1252 encoding system.
Top of Page
Newer Math Codes (Not Supported in Netscape 4.7)
In addition to the entities mentioned above, there have been proposals to develop additional special character entities such as for Greek letters, card suits and other symbols. However, these are so new that they are implemented in only the most recent browsers such as Internet Explorer 5/6, Netscape 6/7, or Mozilla 1.0. Many do not work in Netscape 4.7.
See or Ian Graham's Mathematical Symbols for HTML or Web Developer's Virtual Reference HTML Special Characters and Browser Compatibility or for more details and a complete list.
Punctuation
† (single dagger) - † ‡ (double dagger) - ‡
Shapes
♥ (heart) - ♥ ♦ (diamond card suit) - ♦ ♣ (club suit) - ♣ ♠ (spade suit) - ♠ ◊ (open diamond / lozenge) - ◊ ← (left arrow) - ← → (right arrow) - → ↑ (up arrow) - ↑ ↓ (down arrow) - ↓
Some Greek Letters
α (lowercase alpha) - α Α(uppercase alpha) - Α β(lowercase beta) - β Β (uppercase beta) - Β and so forth...
Mathematical Symbols
∴(therefore triangle) - ∴ ≠ (not equal) - ≠ ≥ (greater than or equal to) - ≥ ≤ (less than or equal to) - ≤ ≈ (approximately) - ≈ ∫ (integral sign) - ∫ ∂ (partial derivative) - ∂ √ (square root / radical) - √ ∞ (infinity) - ∞ ℵ (Aleph number) - ℵ ′(single prime) - ′ ″(double prime) - ″ ∑ (sigma sum sign) - ∑ ∩ (set intersection) - ∩ ≡ (equivalent to, three lines) - ≡ ‰ (permil symbol)- ‰
Top of Page
Links to External Reference Pages
HTML Entity Codes
- Ian S. Graham (Wiley)
- Alan Wood HTML 4.0 Character Entity References - Lists Unicode number and entity. Some mathematical characters not supported in Netscape 4.7
- HTML Special Characters and Browser Compatability
- Tip Sheet on Special Characters - Includes the HTML code and the Windows and Mac keyboard shortcuts
- Webmonkey - The first set of entries ("left single quote" to "trademark sign") are experimental and may not be supported in Netscape 4.7
Top of Page
©Penn State University, 2000-2005. 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 (ejp10@psu.edu).
Unicode character names and hexadecimal entity codes are taken from the public Unicode Character Charts.
This publication is available in alternate media upon request.
Last Modified: Friday, 08-Apr-2005 17:04:49 EDT
Từ khóa » Html Accent Codes
-
Symbol Codes | Entity Codes For HTML - Sites At Penn State
-
Acute Accent HTML Symbol, Character And Entity Codes - Toptal
-
Html Codes For Foreign Language Accents. Keyboard Help. - Starr.Net
-
Diacritical Marks - HTML Unicode UTF-8
-
HTML Entities - W3Schools
-
Accented Letters In HTML, TeX, And Microsoft Word
-
HTML Codes And HTML Special Characters: The Complete List
-
How Can I Show Special Characters Like "e" With Accent Acute Over It ...
-
ALT & HTML Codes :: International Letters For PC & MAC
-
HTML Codes For French Language Characters - ThoughtCo
-
HTML Code For Common Symbols - ThoughtCo
-
Hypertext Markup Language - 2.0 - The HTML Coded Character Set
-
HTML Character Codes »