Vous êtes sur la page 1sur 7

Caracteres especiais

HTML permite que caracteres especiais sejam representados por seqncias de escape, indicadas por trs partes: um & inicial, um nmero ou cadeia de caracteres correspondente ao caracter desejado, e um ; final. Quatro caracteres ASCII - <, >, e & tm significados especiais em HTML, e so usados dentro de documentos seguindo a correspondncia: Entidade &lt; &gt; &amp; Caracter < > &

Outras sequncias de escape suportam caracteres ISO Latin1. Aqui est uma tabela com os caracteres mais utilizados em Portugus: Entidade &aacute; &acirc; &agrave; &atilde; &ccedil; &eacute; &ecirc; &iacute; &oacute; &ocirc; &otilde; &uacute; &uuml; Caracter Entidade &Aacute; &Acirc; &Agrave; &Atilde; &Ccedil; &Eacute; &Ecirc; &Iacute; &Oacute; &Ocirc; &Otilde; &Uacute; &Uuml; Caracter

Como vemos, as sequncias de escape so sensveis caixa. Os editores de HTML fazem essa traduo automaticamente. Alguns editores, no entanto, mantm a acentuao, sem usar as entidades de formatao. Quando isso acontece, deve-se inserir uma indicao do esquema de codificao ISO Latin1, escrevendo: <HTML> <HEAD> <TITLE>...</TITLE> <META HTTP -EQUIV="Content -Type" CONTENT="text/html; charset=ISO -8859-1"> </HEAD> ... Existem alguns smbolos que vm sendo incorporados ao conjunto de caracteres reconhecidos em HTML. Por exemplo, &copy;, que o smbolo ,&reg; para , e &sect; para .

Tambm se pode usar seqncias com cdigos ASCII, por exemplo: &#191;Qu pasa, seor?

Qu pasa, seor?

Latin-1 Entities
The following table gives the character entity reference, decimal character reference, and hexadecimal character reference for 8bit characters in the Latin-1 (ISO-8859-1) character set, as well as the rendering of each in your browser. Glyphs of the characters are available at the Unicode Consortium.
Rendering in Your Browser Entity Decimal Hex no-break space = non-breaking space inverted exclamation mark cent sign pound sign currency sign yen sign = yuan sign broken bar = broken vertical bar section sign diaeresis = spacing diaeresis copyright sign feminine ordinal indicator left-pointing double angle quotation mark = left pointing guillemet not sign &nbsp; &iexcl; &cent; &#160; &#xA0; &#161; &#xA1; &#162; &#xA2;

Character

Entity

Decimal

Hex

&pound; &#163; &#xA3; &curren; &#164; &#xA4; &yen; &#165; &#xA5;

&brvbar; &#166; &#xA6; &sect; &uml; &copy; &ordf; &laquo; &not; &#167; &#xA7; &#168; &#xA8; &#169; &#xA9; &#170; &#xAA; &#171; &#xAB; &#172; &#xAC;

Character

Entity

Decimal

Hex

Rendering in Your Browser Entity Decimal Hex

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

&shy; &reg;

&#173; &#xAD; &#174; &#xAE;

&macr; &deg;

&#175; &#xAF; &#176; &#xB0;

&plusmn; &#177; &#xB1; &#178; &#xB2;

superscript two = superscript digit two = &sup2; squared superscript three = superscript digit three &sup3; = 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 &acute; &micro; &para;

&#179; &#xB3; &#180; &#xB4; &#181; &#xB5; &#182; &#xB6;

&middot; &#183; &#xB7; &cedil; &sup1; &ordm; &#184; &#xB8; &#185; &#xB9; &#186; &#xBA;

&raquo; &#187; &#xBB;

vulgar fraction one quarter = fraction one &frac14; &#188; &#xBC; quarter vulgar fraction one half = fraction one &frac12; &#189; &#xBD;

Character

Entity

Decimal

Hex

Rendering in Your Browser Entity Decimal Hex

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 &frac34; &#190; &#xBE;

&iquest; &#191; &#xBF;

&Agrave; &#192; &#xC0; &Aacute; &#193; &#xC1; &Acirc; &Atilde; &Auml; &Aring; &#194; &#xC2; &#195; &#xC3; &#196; &#xC4; &#197; &#xC5;

&AElig;

&#198; &#xC6;

&Ccedil; &#199; &#xC7; &Egrave; &#200; &#xC8; &Eacute; &#201; &#xC9; &Ecirc; &Euml; &#202; &#xCA; &#203; &#xCB;

&Igrave; &#204; &#xCC; &Iacute; &#205; &#xCD; &Icirc; &#206; &#xCE;

Character

Entity

Decimal

Hex

Rendering in Your Browser Entity Decimal Hex

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

&Iuml; &ETH;

&#207; &#xCF; &#208; &#xD0;

&Ntilde; &#209; &#xD1; &Ograve; &#210; &#xD2; &Oacute; &#211; &#xD3; &Ocirc; &#212; &#xD4;

&Otilde; &#213; &#xD5; &Ouml; &times; &#214; &#xD6; &#215; &#xD7;

&Oslash; &#216; &#xD8; &Ugrave; &#217; &#xD9; &Uacute; &#218; &#xDA; &Ucirc; &Uuml; &#219; &#xDB; &#220; &#xDC;

&Yacute; &#221; &#xDD; &THORN; &#222; &#xDE; &szlig; &#223; &#xDF;

&agrave; &#224; &#xE0; &aacute; &#225; &#xE1;

Character

Entity

Decimal

Hex

Rendering in Your Browser Entity Decimal Hex

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

&acirc; &atilde; &auml; &aring;

&#226; &#xE2; &#227; &#xE3; &#228; &#xE4; &#229; &#xE5;

Latin small letter ae = Latin small ligature &aelig; 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 &ccedil;

&#230; &#xE6; &#231; &#xE7;

&egrave; &#232; &#xE8; &eacute; &#233; &#xE9; &ecirc; &euml; &#234; &#xEA; &#235; &#xEB;

&igrave; &#236; &#xEC; &iacute; &#237; &#xED; &icirc; &iuml; &eth; &ntilde; &#238; &#xEE; &#239; &#xEF; &#240; &#xF0; &#241; &#xF1;

&ograve; &#242; &#xF2; &oacute; &#243; &#xF3; &ocirc; &#244; &#xF4;

Character

Entity

Decimal

Hex

Rendering in Your Browser Entity Decimal Hex

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 Latin small letter y with diaeresis

&otilde; &ouml;

&#245; &#xF5; &#246; &#xF6;

&divide; &#247; &#xF7; &oslash; &#248; &#xF8; &ugrave; &#249; &#xF9; &uacute; &#250; &#xFA; &ucirc; &uuml; &#251; &#xFB; &#252; &#xFC;

&yacute; &#253; &#xFD; &thorn; &yuml; &#254; &#xFE; &#255; &#xFF;

Vous aimerez peut-être aussi