Character set and special characters

Character set and special characters

Description

HTML uses the character set called the Universal Character Set (UCS), defined in the ISO-10646 specifiation. This standard defines a repertoire of thousands of characters used by communities all over the world. This character set is equivalent to Unicode 2.0.

Table of printable Latin-1 Character codes
Characters of the iso-latin1 character set
©Copyright W3C out=>

Special characters

If you need a to use a special character, like an accented character or a currency sign, you have to use a special notation. There are two ways to use these special characters:
  1. Use the decimal representation, in the format &#nnn;, where nnn is the decimal code of the character.
  2. Use a character entity, in the format &ccc;, where ccc is the character string that represents the specific character.
HTML 4.0 supports three sets of special characters:
  • ISO 8859-1 (Latin-1) characters
  • Symbols, mathematical symbols, and Greek letters
  • Markup-significant and internationalization characters

ISO 8859-1 (Latin-1) characters

ISO 8859-1 (Latin-1) characters
DecimalCharacterExampleExplanation
   no-break space
¡¡¡inverted exclamation mark
¢¢¢cent sign
£££pound sign
¤¤¤currency sign
¥¥¥yen sign = yuan sign
¦¦¦broken bar = brolen vertical bar
§§§section sign
¨¨¨diaeresis = spacing diaeresis
©©©copyright sign
ªªªfeminine ordinal indicator
«««left-pointing double angle quotation mark = left pointing guillemet
¬¬¬not sign = discretionary hyphen
­­
soft hyphen = discretionary hyphen
®®®registered sign = registered trade mark sign
¯¯¯macron = spacing macron = overline = APL overbar
°°°degree sign
±±±plus-minus sign = plus-or-minus sign
²²²superscript two = superscript digit two = squared
³³³superscript three = superscript digit three = cubed
´´´acute accent = spacing acute
µµµmicro sign
¶¶pilcrow sign = paragraph sign
···middle dot = Georgian comma = Greek middle dot
¸ç¸cedilla = spacing cedilla
¹¹¹superscript one = superscript digit one
ºººmasculine ordinal indicator
»»»right-pointing double angle quotation mark = right pointing guillemet
¼¼¼vulgar fraction one quarter = fraction one quarter
½½½vulgar fraction one half = fraction one half
¾¾¾vulgar fraction three quarters = fraction three quarters
¿¿¿inverted question mark = turned question mark
ÀÀÀlatin capital letter A with grave = latin capital letter A grave
ÁÁÁlatin capital letter A with acute
ÂÂÂlatin capital letter A with circumflex
ÃÃÃlatin capital letter A with tilde
ÄÄÄlatin capital letter A with diaeresis
ÅÅÅlatin capital letter A with ring above = latin capital letter A ring
ÆÆÆlatin capital letter AE = latin capital ligature AE
ÇÇÇlatin capital letter C with cedilla
ÈÈÈlatin capital letter E with grave
ÉÉÉlatin capital letter E with acute
ÊÊÊlatin capital letter E with circumflex
ËËËlatin capital letter E with diaeresis
ÌÌÌlatin capital letter I with grave
ÍÍÍlatin capital letter I with acute
ÎÎÎlatin capital letter I with circumflex
ÏÏÏlatin capital letter I with diaeresis
ÐÐÐlatin capital letter ETH
ÑÑÑlatin capital letter N with tilde
ÒÒÒlatin capital letter O with grave
ÓÓÓlatin capital letter O with acute
ÔÔÔlatin capital letter O with circumflex
ÕÕÕlatin capital letter O with tilde
ÖÖÖlatin capital letter O with diaeresis
×××multiplication sign
ØØØlatin capital letter O with stroke = latin capital letter O slash
ÙÙÙlatin capital letter U with grave
ÚÚÚlatin capital letter U with acute
ÛÛÛlatin capital letter U with circumflex
ÜÜÜlatin capital letter U with diaeresis
ÝÝÝlatin capital letter Y with acute
ÞÞÞlatin capital letter THORN
ßßßlatin small letter sharp s = ess-zed
àààlatin small letter a with grave = latin small letter a grave
ááálatin small letter a with acute
âââlatin small letter a with circumflex
ãããlatin small letter a with tilde
ääälatin small letter a with diaeresis
ååålatin small letter a with ring above = latin small letter a ring
ææælatin small letter ae = latin small ligature ae
çççlatin small letter c with cedilla
èèèlatin small letter e with grave
ééélatin small letter e with acute
êêêlatin small letter e with circumflex
ëëëlatin small letter e with diaeresis
ìììlatin small letter i with grave
ííílatin small letter i with acute
îîîlatin small letter i with circumflex
ïïïlatin small letter i with diaeresis
ðððlatin small letter eth
ñññlatin small letter n with tilde
òòòlatin small letter o with grave
óóólatin small letter o with acute
ôôôlatin small letter o with circumflex
õõõlatin small letter o with tilde
ööölatin small letter o with diaeresis
÷÷÷division sign
øøølatin small letter o with stroke = latin small letter o slash
ùùùlatin small letter u with grave
úúúlatin small letter u with acute
ûûûlatin small letter u with circumflex
üüülatin small letter u with diaeresis
ýýýlatin small letter y with acute
þþþlatin small letter thorn with
ÿÿÿlatin small letter y with diaeresis

Symbols, mathematical symbols, and Greek letters

The character entity references in this section produce characters that may be represented by glyphs in the widely available Adobe Symbol font, including Greek characters, various bracketing symbols, and a selection of mathematical operators such as gradient, product, and summation symbols.
Note from HTML 4.0 :
This entity set contains all the letters used in modern Greek. However, it does not include Greek punctuation, precomposed accented characters nor the non-spacing accents (tonos, dialytika) required to compose them. There are no archaic letters, Coptic-unique letters, or precomposed letters for Polytonic Greek. The entities defined here are not intended for the representation of modern Greek text and would not be an efficient representation; rather, they are intended for occasional Greek letters used in technical and mathematical works.
Symbols, mathematical symbols, and Greek letters
DecimalCharacterExampleExplanation
ƒƒƒlatin small f with hook = function = florin
ΑΑΑgreek capital letter alpha
ΒΒΒgreek capital letter beta
ΓΓΓgreek capital letter gamma
ΔΔΔgreek capital letter delta
ΕΕΕgreek capital letter epsilon
ΖΖΖgreek capital letter zeta
ΗΗΗgreek capital letter eta
ΘΘΘgreek capital letter theta
ΙΙΙgreek capital letter iota
ΚΚΚgreek capital letter kappa
ΛΛΛgreek capital letter lambda
ΜΜΜgreek capital letter mu
ΝΝΝgreek capital letter nu
ΞΞΞgreek capital letter xi
ΟΟΟgreek capital letter omicron
ΠΠΠgreek capital letter pi
ΡΡΡgreek capital letter rho
ΣΣΣgreek capital letter sigma
ΤΤΤgreek capital letter tau
ΥΥΥgreek capital letter upsilon
ΦΦΦgreek capital letter phi
ΧΧΧgreek capital letter chi
ΨΨΨgreek capital letter psi
ΩΩΩgreek capital letter omega
αααgreek small letter alpha
βββgreek small letter beta
γγγgreek small letter gamma
δδδgreek small letter delta
εεεgreek small letter epsilon
ζζζgreek small letter zeta
ηηηgreek small letter eta
θθθgreek small letter theta
ιιιgreek small letter iota
κκκgreek small letter kappa
λλλgreek small letter lambda
μμμgreek small letter mu
νννgreek small letter nu
ξξξgreek small letter xi
οοοgreek small letter omicron
πππgreek small letter pi
ρρρgreek small letter rho
ςςςgreek small letter final sigma
σσσgreek small letter sigma
τττgreek small letter tau
υυυgreek small letter upsilon
φφφgreek small letter phi
χχχgreek small letter chi
ψψψgreek small letter psi
ωωωgreek small letter omega
ϑϑϑgreek small letter theta symbol
ϒϒϒgreek upsilon with hook symbol
ϖϖϖgreek pi symbol
••bullet = black small circle
……horizontal ellipsis = three dot leader
′′prime = minutes = feet
″″double prime = seconds = inches
‾‾overline = spacing overscore
⁄⁄fraction slash
℘℘script capital P = power set = Weierstrass p
ℑℑblackletter capital I = imaginary part
ℜℜblackletter capital R = real part symbol
™™trade mark sign
ℵℵalef symbol = first transfinite cardinal
←←leftwards arrow
↑↑upwards arrow
→→rightwards arrow
↓↓downwards arrow
↔↔left right arrow
↵↵downwards arrow with corner leftwards = carriage return
⇐⇐leftwards double arrow
⇑⇑upwards double arrow
⇒⇒rightwards double arrow
⇓⇓downwards double arrow
⇔⇔left right double arrow
∀∀for all
∂∂partial differential
∃∃there exists
∅∅empty set = null set = diameter
∇∇nabla = backward difference
∈∈element of
∉∉not an element of
∋∋contains as member
∏∏n-ary product = product sign
∑∑n-ary sumation
−−minus sign
∗∗asterisk operator
√√square root = radical sign
∝∝proportional to
∞∞infinity
∠∠angle
∧∧logical and = wedge
∨∨logical or = vee
∩∩intersection = cap
∪∪union = cup
∫∫integral
∴∴therefore
∼∼tilde operator = varies with = similar to
≅≅approximately equal to
≈≈almost equal to = asymptotic to
≠≠not equal to
≡≡identical to
≤≤less-than or equal to
≥≥greater-than or equal to
⊂⊂subset of
⊃⊃superset of
⊄⊄not a subset of
⊆⊆subset of or equal to
⊇⊇superset of or equal to
⊕⊕circled plus = direct sum
⊗⊗circled times = vector product
⊥⊥up tack = orthogonal to = perpendicular
⋅⋅dot operator
⌈⌈left ceiling = apl upstile
⌉⌉right ceiling
⌊⌊left floor = apl downstile
⌋⌋right floor
〈⟨left-pointing angle bracket = bra
〉⟩right-pointing angle bracket = ket
◊◊lozenge
♠♠black spade suit
♣♣black club suit = shamrock
♥♥black heart suit = valentine
♦♦black diamond suit

Markup-significant and internationalization characters

The character entity references in this section are for escaping markup-significant characters, for denoting spaces and dashes. Other characters in this section apply to internationalization issues such as the disambiguation of bidirectional text.
Markup-significant and internationalization characters
DecimalCharacterExampleExplanation
"""quotation mark = APL quote
&&&ampersand
&#60;&lt;<less-than sign
&#62;&gt;>greater-than sign
&#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
&#710;&circ;ˆmodifier letter circumflex accent
&#732;&tilde;˜small tilde
&#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
&#8240;&permil;per mille sign
&#8249;&lsaquo;single left-pointing angle quotation mark
&#8250;&rsaquo;single right-pointing angle quotation mark
&#8364;&euro;euro sign

No comments:

Post a Comment