ASCII code is a brief description of the attributes and characters of each special character in html. How to add ASCII code to a webpage when using html. For example, you can use "& copy;" to display the copyright ''in html.
Application Scenario: When the keyboard cannot be used. Because I tested using & amp; and & in html code to be equivalent.
Symbol |
HTML code |
Value |
Description |
< |
& Lt; |
& #60; |
Yu no. |
> |
& Gt; |
& #62; |
Yu no. |
& |
& Amp; |
& #38; |
Symbol indicating "and" |
" |
& Quot; |
& Amp; #34; |
Quotation marks |
|
& Nbsp; |
& #160; |
No space for broken lines |
- |
& Mdash; |
& #151; |
Hyphen |
|
& Reg; |
& #174; |
Registered Trademark |
|
& Copy; |
& #169; |
Copyright |
Bytes ¡ |
& Iexcl; |
& #161; |
Inverted exclamation point |
€ |
& Euro; |
& #128; |
Euro symbol |
Bytes |
& Cent; |
& #162; |
Cent sign |
£. |
& Pound; |
& #163; |
Pound symbol |
Bytes |
& Curren; |
& #164; |
Currency symbols |
¥ |
& Yen; |
& #165; |
Metadata |
Bytes |
& Brvbar; |
& #166; |
Intermittent vertical bar |
§ |
& Sect; |
& #167; |
Partial symbols |
○ |
& Uml; |
& #168; |
Two consecutive vowels |
Bytes |
& Ordf; |
& #170; |
Yin collation |
« |
& Laquo; |
& #171; |
Left-pointed dual-angle quote |
Bytes |
& Not; |
& #172; |
Free Connector |
|
& Shy; |
& #173; |
Hyphen |
Bytes |
& Macr; |
& #175; |
Changyin symbol |
° |
& Deg; |
& #176; |
Degrees |
± |
& Plusmn; |
& #177; |
Add and subtract symbols |
2. |
& Sup2; |
& #178; |
Ordinary symbol |
Bytes |
& Sup3; |
& #179; |
Cube symbol |
Μ |
& Micro; |
& #181; |
Microsymbols |
Bytes ¶ |
& Para; |
& #182; |
Paragraph symbols |
· |
& Middot; |
& #183; |
Midpoint |
Bytes |
& Cedil; |
& #184; |
Change notes |
Bytes |
& Sup1; |
& #185; |
Yifang |
° |
& Ordm; |
& #186; |
Positive collation |
» |
& Raquo; |
& #187; |
Right-pointed dual-angle quote |
Bytes |
& Frac14; |
& #188; |
Normal score 1/4 |
Bytes |
& Frac12; |
& #189; |
Normal score 1/2 |
Bytes |
& Frac34; |
& #190; |
Normal score 3/4 |
Bytes ¿ |
& Iquest; |
& #191; |
Inverted question mark |
Bytes |
& ETH; |
& #208; |
Latin capital Eth |
× |
& Times; |
& #215; |
Multiplication number |
À |
& Agrave; |
& #192; |
Uppercase |
Á |
& Aacute; |
& #193; |
Uppercase letters A with Latin accent |
 |
& Acirc; |
& #194; |
Long Latin uppercase |
Bytes |
& Atilde; |
& #195; |
Uppercase |
Ä |
& Auml; |
& #196; |
Latin two consecutive vowels uppercase |
Bytes |
& Aring; |
& #197; |
Uppercase A in the Latin circle |
Bytes |
& AElig; |
& #198; |
Latin uppercase hyphen AE |
C. |
& Ccedil; |
& #199; |
Uppercase C |
? |
& Egrave; |
& #200; |
Uppercase Latin suppression E |
É |
& Eacute; |
& #201; |
Uppercase E with Latin accent |
Bytes |
& Ecirc; |
& #202; |
Latin changyin Capital E |
Bytes |
& Euml; |
& #203; |
Latin two consecutive vowels uppercase E |
|
& Spades; |
- |
Poker black peach |
|
& Clubs; |
- |
Poker plum blossom |
|
& Diams; |
- |
Poker Square |
|
& Hearts; |
- |
Poker |
Bytes |
& Igrave; |
& #236; |
Lowercase I |
Í |
& Iacute; |
& #237; |
Lowercase I with Latin accent |
Bytes |
& Icirc; |
& #238; |
Latin long-tone lowercase I |
Bytes |
& Iuml; |
& #239; |
Latin two consecutive vowel lowercase I |
Bytes |
& Euml; |
& #235; |
Latin two consecutive vowels lowercase e |
Bytes |
& Igrave; |
& #236; |
Lowercase I |
Í |
& Iacute; |
& #237; |
Lowercase I with Latin accent |
Bytes |
& Icirc; |
& #238; |
Latin long-tone lowercase I |
Bytes |
& Iuml; |
& #239; |
Latin two consecutive vowel lowercase I |
Bytes |
& Eth; |
& #240; |
Latin lower case eth |
N |
& Ntilde; |
& #241; |
Lowercase n |
Ó |
& Oacute; |
& #243; |
Lowercase o with Latin accent |
Bytes |
& Ograve; |
& #242; |
Lowercase o |
Bytes |
& Ocirc; |
& #244; |
Lowercase o |
Bytes |
& Otilde; |
& #245; |
Lowercase o in Chinese Language |
Ö |
& Ouml; |
& #246; |
Latin two consecutive vowels lower case o |
Ø |
& Oslash; |
& #248; |
Latin lowercase strikethrough o |
Bytes |
& Ugrave; |
& #249; |
Lowercase u |
Úo |
& Uacute; |
& #250; |
Lowercase u with Latin accent |
Bytes |
& Ucirc; |
& #251; |
Latin long-tone lowercase u |
Ü |
& Uuml; |
& #252; |
Latin two consecutive vowel lowercase u |
Bytes |
& Yacute; |
& #253; |
Lowercase y with Latin accent |
Bytes |
& Thorn; |
& #254; |
Latin lowercase thorn |
Bytes |
& Yuml; |
& #255; |
Lowercase y |
Bytes |
& Larr; |
- |
Left direction key |
→ |
& Rarr; |
- |
Right Direction key |
Bytes |
& Uarr; |
- |
Up arrow key |
Bytes |
& Darr; |
- |
Downstream key |
References: http://cn.hscripts.com/tutorials/html/specialCharacter1.php