Scriptplayground

 Print Page | Close Window

XHTML Character Codes

A simple to understand table of xhtml character codes.

Here is a table of the different values you can put in the date string

Char Char Code Alternate Code Description
non-printable	 horizontal tab
non-printable
 line feed
non-printable
 carriage return
"""quotation mark
&&&ampersand
non-printable  space
!! exclamation mark
"""quotation mark
## number sign
$$ dollar sign
%% percent sign
&&&ampersand
'' apostrophe
(( left parenthesis
)) right parenthesis
** asterisk
++ plus sign
,, comma
-- hyphen
.. period (fullstop)
// solidus (slash)
:: colon
;&#59; semi-colon
<&#60;&lt;less than
=&#61; equals sign
>&#62;&gt;greater than
?&#63; question mark
@&#64; commercial at
[&#91; left square bracket
\&#92; reverse solidus (backslash)
]&#93; right square bracket
^&#94; caret
_&#95; horizontal bar (underscore)
`&#96; acute accent
{&#123; left curly brace
|&#124; vertical bar
}&#125; right curly brace
~&#126; tilde
 &#160;&nbsp;no-break space
¡&#161;&iexcl;inverted exclamation mark
¢&#162;&cent;cent sign
¢&#162;&cent;cent sign
£&#163;&pound;pound sterling
¤&#164;&curren;general currency sign
¥&#165;&yen;yen sign
¦&#166;&brvbar;pipe or broken bar
§&#167;&sect;section sign
¨&#168;&uml;diaeresis
©&#169;&copy;copyright sign
ª&#170;&ordf;feminine ordinal indicator
«&#171;&laquo;left-pointing double angle quotation mark
¬&#172;&not;not sign
­&#173;&shy;soft hyphen
®&#174;&reg;registered sign
¯&#175;&macr;macron
°&#176;&deg;degree sign
±&#177;&plusmn;plus-minus sign
²&#178;&sup2;superscript two
³&#179;&sup3;superscript three
´&#180;&acute;acute accent
µ&#181;&micro;micro sign
&#182;&para;pilcrow sign
·&#183;&middot;middle dot
¸&#184;&cedil;cedilla
¹&#185;&sup1;superscript one
º&#186;&ordm;masculine ordinal indicator
»&#187;&raquo;right-pointing double angle quotation mark
¼&#188;&frac14;vulgar fraction one quarter
½&#189;&frac12;vulgar fraction one half
¾&#190;&frac34;vulgar fraction three quarters
¿&#191;&iquest;inverted question mark
À&#192;&Agrave;latin capital letter a with grave
Á&#193;&Aacute;latin capital letter a with acute
Â&#194;&Acirc;latin capital letter a with circumflex
Ã&#195;&Atilde;latin capital letter a with tilde
Ä&#196;&Auml;latin capital letter a with diaeresis
Å&#197;&Aring;latin capital letter a with ring above
Æ&#198;&AElig;latin capital letter ae
Ç&#199;&Ccedil;latin capital letter c with cedilla
È&#200;&Egrave;latin capital letter e with grave
É&#201;&Eacute;latin capital letter e with acute
Ê&#202;&Ecirc;latin capital letter e with circumflex
Ë&#203;&Euml;latin capital letter e with diaeresis
Ì&#204;&Igrave;latin capital letter i with grave
Í&#205;&Iacute;latin capital letter i with acute
Î&#206;&Icirc;latin capital letter i with circumflex
Ï&#207;&Iuml;latin capital letter i with diaeresis
Ð&#208;&ETH;latin capital letter eth
Ñ&#209;&Ntilde;latin capital letter n with tilde
Ò&#210;&Ograve;latin capital letter o with grave
Ó&#211;&Oacute;latin capital letter o with acute
Ô&#212;&Ocirc;latin capital letter o with circumflex
Õ&#213;&Otilde;latin capital letter o with tilde
Ö&#214;&Ouml;latin capital letter o with diaeresis
×&#215;&times;multiplication sign
Ø&#216;&Oslash;latin capital letter o with stroke
Ù&#217;&Ugrave;latin capital letter u with grave
Ú&#218;&Uacute;latin capital letter u with acute
Û&#219;&Ucirc;latin capital letter u with circumflex
Ü&#220;&Uuml;latin capital letter u with diaeresis
Ý&#221;&Yacute;latin capital letter y with acute
Þ&#222;&THORN;latin capital letter thorn
ß&#223;&szlig;latin small letter sharp s
ß&#223;&szlig;latin small letter sharp s
à&#224;&agrave;latin small letter a with grave
á&#225;&aacute;latin small letter a with acute
â&#226;&acirc;latin small letter a with circumflex
ã&#227;&atilde;latin small letter a with tilde
ä&#228;&auml;latin small letter a with diaeresis
å&#229;&aring;latin small letter a with ring above
æ&#230;&aelig;latin small letter ae
ç&#231;&ccedil;latin small letter c with cedilla
è&#232;&egrave;latin small letter e with grave
é&#233;&eacute;latin small letter e with acute
ê&#234;&ecirc;latin small letter e with circumflex
ë&#235;&euml;latin small letter e with diaeresis
ì&#236;&igrave;latin small letter i with grave
í&#237;&iacute;latin small letter i with acute
î&#238;&icirc;latin small letter i with circumflex
ï&#239;&iuml;latin small letter i with diaeresis
ð&#240;&eth;latin small letter eth
ñ&#241;&ntilde;latin small letter n with tilde
ò&#242;&ograve;latin small letter o with grave
ó&#243;&oacute;latin small letter o with acute
ô&#244;&ocirc;latin small letter o with circumflex
õ&#245;&otilde;latin small letter o with tilde
ö&#246;&ouml;latin small letter o with diaeresis
÷&#247;&divide;division sign
ø&#248;&oslash;latin small letter o with stroke,
ù&#249;&ugrave;latin small letter u with grave
ú&#250;&uacute;latin small letter u with acute
û&#251;&ucirc;latin small letter u with circumflex
ü&#252;&uuml;latin small letter u with diaeresis
ý&#253;&yacute;latin small letter y with acute
þ&#254;&thorn;latin small letter thorn
ÿ&#255;&yuml;small y, dieresis or umlaut mark
Œ&#338;&OElig;latin capital ligature oe
œ&#339;&oelig;latin small ligature oe
Š&#352;&Scaron;latin capital letter s with caron
š&#353;&scaron;latin small letter s with caron
Ÿ&#376;&Yuml;latin capital letter y with diaeresis
ƒ&#402;&fnof;latin small f with hook
ˆ&#710;&circ;modifier letter circumflex accent
˜&#732;&tilde;small tilde
Α&#913;&Alpha;greek capital letter alpha
Β&#914;&Beta;greek capital letter beta
Γ&#915;&Gamma;greek capital letter gamma
Δ&#916;&Delta;greek capital letter delta
Ε&#917;&Epsilon;greek capital letter epsilon
Ζ&#918;&Zeta;greek capital letter zeta
Η&#919;&Eta;greek capital letter eta
Θ&#920;&Theta;greek capital letter theta
Ι&#921;&Iota;greek capital letter iota
Κ&#922;&Kappa;greek capital letter kappa
Λ&#923;&Lambda;greek capital letter lambda
Μ&#924;&Mu;greek capital letter mu
Ν&#925;&Nu;greek capital letter nu
Ξ&#926;&Xi;greek capital letter xi
Ο&#927;&Omicron;greek capital letter omicron
Π&#928;&Pi;greek capital letter pi
Ρ&#929;&Rho;greek capital letter rho
Σ&#931;&Sigma;greek capital letter sigma
Τ&#932;&Tau;greek capital letter tau
Υ&#933;&Upsilon;greek capital letter upsilon
Φ&#934;&Phi;greek capital letter phi
Χ&#935;&Chi;greek capital letter chi
Ψ&#936;&Psi;greek capital letter psi
Ω&#937;&Omega;greek capital letter omega
α&#945;&alpha;greek small letter alpha
β&#946;&beta;greek small letter beta
γ&#947;&gamma;greek small letter gamma
δ&#948;&delta;greek small letter delta
ε&#949;&epsilon;greek small letter epsilon
ζ&#950;&zeta;greek small letter zeta
η&#951;&eta;greek small letter eta
θ&#952;&theta;greek small letter theta
ι&#953;&iota;greek small letter iota
κ&#954;&kappa;greek small letter kappa
λ&#955;&lambda;greek small letter lambda
μ&#956;&mu;greek small letter mu
ν&#957;&nu;greek small letter nu
ξ&#958;&xi;greek small letter xi
ο&#959;&omicron;greek small letter omicron
π&#960;&pi;greek small letter pi
ρ&#961;&rho;greek small letter rho
ς&#962;&sigmaf;greek small letter final sigma
σ&#963;&sigma;greek small letter sigma
τ&#964;&tau;greek small letter tau
υ&#965;&upsilon;greek small letter upsilon
φ&#966;&phi;greek small letter phi
χ&#967;&chi;greek small letter chi
ψ&#968;&psi;greek small letter psi
ω&#969;&omega;greek small letter omega
ϑ&#977;&thetasym;greek small letter theta symbol
ϒ&#978;&upsih;greek upsilon with hook symbol
ϖ&#982;&piv;greek pi symbol
&#8194;&ensp;en space
&#8195;&emsp;em space
&#8201;&thinsp;thin space
&#8204;&zwnj;zero width non-joiner
&#8205;&zwj;zero width joiner
&#8206;&lrm;left-to-right mark
&#8207;&rlm;right-to-left mark
&#8211;&ndash;en dash
&#8212;&mdash;em dash
&#8216;&lsquo;left single quotation mark
&#8217;&rsquo;right single quotation mark
&#8218;&sbquo;single low-9 quotation mark
&#8220;&ldquo;left double quotation mark
&#8221;&rdquo;right double quotation mark
&#8222;&bdquo;double low-9 quotation mark
&#8224;&dagger;dagger
&#8225;&Dagger;double dagger
&#8226;&bull;bullet
&#8230;&hellip;horizontal ellipsis
&#8240;&permil;per mille sign
&#8242;&prime;prime
&#8243;&Prime;double prime
&#8249;&lsaquo;single left-pointing angle quotation mark
&#8250;&rsaquo;single right-pointing angle quotation mark
&#8254;&oline;overline
&#8260;&frasl;fraction slash
&#8364;&euro;euro sign
&#8465;&image;blackletter capital i
&#8472;&weierp;script capital p
&#8476;&real;blackletter capital r
&#8482;&trade;trade mark sign
&#8501;&alefsym;alef symbol
&#8592;&larr;leftwards arrow
&#8593;&uarr;upwards arrow
&#8594;&rarr;rightwards arrow
&#8595;&darr;downwards arrow
&#8596;&harr;left right arrow
&#8629;&crarr;downwards arrow with corner leftwards
&#8656;&lArr;leftwards double arrow
&#8657;&uArr;upwards double arrow
&#8658;&rArr;rightwards double arrow
&#8659;&dArr;downwards double arrow
&#8660;&hArr;left right double arrow
&#8704;&forall;for all
&#8706;&part;partial differential
&#8707;&exist;there exists
&#8709;&empty;empty set
&#8711;&nabla;nabla
&#8712;&isin;element of
&#8713;&notin;not an element of
&#8715;&ni;contains as member
&#8719;&prod;n-ary product
&#8721;&sum;n-ary sumation
&#8722;&minus;minus sign
&#8727;&lowast;asterisk operator
&#8730;&radic;square root
&#8733;&prop;proportional to
&#8734;&infin;infinity
&#8736;&ang;angle
&#8743;&and;logical and
&#8744;&or;logical or
&#8745;&cap;intersection
&#8746;&cup;union
&#8747;&int;integral
&#8756;&there4;therefore
&#8764;&sim;tilde operator
&#8773;&cong;approximately equal to
&#8776;&asymp;almost equal to
&#8800;&ne;not equal to
&#8801;&equiv;identical to
&#8804;&le;less-than or equal to
&#8805;&ge;greater-than or equal to
&#8834;&sub;subset of
&#8835;&sup;superset of
&#8836;&nsub;not a subset of
&#8838;&sube;subset of or equal to
&#8839;&supe;superset of or equal to
&#8853;&oplus;circled plus
&#8855;&otimes;circled times
&#8869;&perp;up tack
&#8901;&sdot;dot operator
&#8968;&lceil;left ceiling
&#8969;&rceil;right ceiling
&#8970;&lfloor;left floor
&#8971;&rfloor;right floor
&#9001;&lang;left-pointing angle bracket
&#9002;&rang;right-pointing angle bracket
&#9674;&loz;lozenge
&#9824;&spades;black spade suit
&#9827;&clubs;black club suit
&#9829;&hearts;black heart suit
&#9830;&diams;black diamond suit

Find this article at:
http://scriptplayground.com/tutorials/xhtml/XHTML-Character-Codes/