Special symbol code for HTML webpages

Source: Internet
Author: User
Tags square root

In web design, we sometimes need to display the following two types of characters on the page:

1. Reserved characters in HTML.

2. a character that cannot be input on the keyboard but can express a special meaning.

Direct use is often not displayed, and the corresponding entity names or entity numbers must be used for display (the default character set in most browsers is the ISO-8859-1 ). The following is a preparation for fast query (note: the code is case sensitive ).

1. Special

Character Entity name Entity number Description
& Copy; & #169; Copyright Notice
|   & #124; Vertical bars, commonly used as separators in menus or navigation
· & Middot; & #183; Dot, which is sometimes used as a menu Separator
Bytes & Uarr; & #8593; The up arrow is often used as the "back to the top of the page" icon on the webpage.
& Euro; & #8364; Euro ID
2. & Sup2; & #178; Supermark 2, square in mathematics, is often used in digital processing, for example:1000
Bytes & Frac12; & #189; 1/2
& Hearts; & #9829; Heart, used to express your heart

2. Common classes

Character Entity name Entity number Description
  & Nbsp; & #160; Space
& & Amp; & #38; And symbol,
" & Quot; & Amp; #34; Quotation marks
& Copy; & #169; Copyright Notice
& Reg; & #187; Registration Mark
& Trade; & #153; Trademark Logo
" & Ldquo; & #147; Double quotation marks
" & Rdquo; & #148; Double quotation marks
' & Lsquo; & #145; Single quotes
' & Rsquo; & #146; Single quotation mark on the right
« & Laquo; & #171; Double quotation marks in the Left triangle
» & Raquo; & #187; Double quotation marks in the right triangle
Bytes ‹ & Lsaquo; & #8249; Single quotation marks in the Left triangle
& Rsaquo; & #8250; Single quotation marks in the right triangle
§ & Sect; & #167; Unit mark
Bytes ¶ & Para; & #182; Paragraph mark
& Bull; & #149; List DOTS (large)
· & Middot; & #183; List DOTS (in)
... & Hellip; & #8230; Ellipsis
|   & #124; Vertical bars
Bytes & Brvbar; & #166; Broken vertical line
- & Ndash; & #150; Dash
- & Mdash; & #151; Long broken number

3. Currency

Character Entity name Entity number Description
Bytes & Curren; & #164; General currency symbols
$   & Amp; #36; Dollar sign
Bytes & Cent; & #162; Minute
£. & Pound; & #163; Pound
¥ & Yen; & #165; Yen
& Euro; & #8364; Euro

4. Mathematics

Character Entity name Entity number Description
< & Lt; & #60; Yu no.
> & Gt; & #62; Yu no.
& Le; & #8804; Less than or equal
& Ge; & #8805; Greater than or equal to No.
× & Times; & #215; Multiplication number
Bytes & Divide; & #247; Division Number
& Minus; & #8722; Minus sign
± & Plusmn; & #177; Add/subtract number
= & Ne; & #8800; Not equal
Bytes & Sup1; & #185; Superscript 1
2. & Sup2; & #178; Superscript 2
Bytes & Sup3; & #179; Superscript 3
Bytes & Frac12; & #189; 1/2
Bytes & Frac14; & #188; 1/4
Bytes & Frac34; & #190; 3/4
& Permil; & #8240; Kilobytes
° & Deg; & #176; Degrees
& Radic; & #8730; Square Root
& Infin; & #8734; Infinite

5. Direction

Character

Entity name Entity number Description
Bytes & Larr; & #8592; Left arrow
Bytes & Uarr; & #8593; Up Arrow
& Rarr; & #8594; Right arrow
Bytes & Darr; & #8595; Down Arrow
& Harr; & #8596; Left and right arrows
Bytes & CRARR; & #8629; Press ENTER arrow
Bytes ⌈ & Lceil; & #8968; Upper left limit
Bytes ⌉ & Rceil; & #8969; Upper right limit
Bytes ⌊ & Lfloor; & #8970; Left lower limit
Bytes ⌋ & Rfloor; & #8971; Lower right limit

6. Others

Character Entity name Entity number Description
& Spades; & #9824; Black peach
& Clubs; & #9827; Plum Blossom
& Hearts; & #9829; Peach, heart
& Diams; & #9830; Block card
Bytes & Loz; & #9674; Diamond
Bytes † & Dagger; & #8224; Dagger
Bytes ‡ & Dagger; & #8225; Shuangjian
Bytes ¡ & Iexcl; & #161; Reverse exclamation point
Bytes ¿ & Iquest; & #191; Reverse question mark
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.