【HTML decimal codes, character entities and hex codes】

来源: 2013-07-11 02:42:00 [博客] [旧帖] [给我悄悄话] 本文已被阅读:

HTML decimal codes, character entities and hex codes.

Key:

Code
HTML decimal code
Entity
character entity, [3.2] = defined in HTML 3.2 (others defined in 2.0 or earlier)
Hex
hex code for use in URLs
Code   Entity         Hex Character Description
------ -------------- --- --------- -----------------------------------

 	                %09           Horizontal tab
 
                %0A           Line feed
 
 
                %0D           Carriage return

                  %20           Space
 !                %21     !     Exclamation mark
 " "         %22     "     Quotation mark
 #                %23     #     Number sign
 $                %24     $     Dollar sign
 %                %25     %     Percent sign
 & &          %26     &     Ampersand
 '                %27     '     Apostrophe
 (                %28     (     Left parenthesis
 )                %29     )     Right parenthesis
 *                %2A     *     Asterisk
 +                %2B     +     Plus sign
 ,                %2C     ,     Comma
 -                %2D     -     Hyphen
 .                %2E     .     Period (fullstop)
 /                %2F     /     Solidus (slash)
 0                %30     0     0
 1                %31     1     1
 2                %32     2     2
 3                %33     3     3
 4                %34     4     4
 5                %35     5     5
 6                %36     6     6
 7                %37     7     7
 8                %38     8     8
 9                %39     9     9
 :                %3A     :     Colon
 &#59;                %3B     ;     Semi-colon
 &#60; &lt;           %3C     <     Less than
 &#61;                %3D     =     Equals sign
 &#62; &gt;           %3E     >     Greater than
 &#63;                %3F     ?     Question mark
 &#64;                %40     @     Commercial at
 &#65;                %41     A     A
 &#66;                %42     B     B
 &#67;                %43     C     C
 &#68;                %44     D     D
 &#69;                %45     E     E
 &#70;                %46     F     F
 &#71;                %47     G     G
 &#72;                %48     H     H
 &#73;                %49     I     I
 &#74;                %4A     J     J
 &#75;                %4B     K     K
 &#76;                %4C     L     L
 &#77;                %4D     M     M
 &#78;                %4E     N     N
 &#79;                %4F     O     O
 &#80;                %50     P     P
 &#81;                %51     Q     Q
 &#82;                %52     R     R
 &#83;                %53     S     S
 &#84;                %54     T     T
 &#85;                %55     U     U
 &#86;                %56     V     V
 &#87;                %57     W     W
 &#88;                %58     X     X
 &#89;                %59     Y     Y
 &#90;                %5A     Z     Z
 &#91;                %5B     [     Left square bracket
 &#92;                %5C     \     Reverse solidus (backslash)
 &#93;                %5D     ]     Right square bracket
 &#94;                %5E     ^     Caret
 &#95;                %5F     _     Horizontal bar (underscore)
 &#96;                %60     `     Acute accent
 &#97;                %61     a     a
 &#98;                %62     b     b
 &#99;                %63     c     c
&#100;                %64     d     d
&#101;                %65     e     e
&#102;                %66     f     f
&#103;                %67     g     g
&#104;                %68     h     h
&#105;                %69     i     i
&#106;                %6A     j     j
&#107;                %6B     k     k
&#108;                %6C     l     l
&#109;                %6D     m     m
&#110;                %6E     n     n
&#111;                %6F     o     o
&#112;                %70     p     p
&#113;                %71     q     q
&#114;                %72     r     r
&#115;                %73     s     s
&#116;                %74     t     t
&#117;                %75     u     u
&#118;                %76     v     v
&#119;                %77     w     w
&#120;                %78     x     x
&#121;                %79     y     y
&#122;                %7A     z     z
&#123;                %7B     {     Left curly brace
&#124;                %7C     |     Vertical bar
&#125;                %7D     }     Right curly brace
&#126;                %7E     ~     Tilde




[]