HTMLתÒå·û¶ÔÕÕ±í Escape Sequence

ΪʲôҪÓÃתÒå×Ö·û´®£¿

HTMLÖÐ<£¬>£¬&µÈÓÐÌØÊ⺬Ò壨<£¬>£¬ÓÃÓÚÁ´½ÓÇ©£¬&ÓÃÓÚתÒ壩£¬²»ÄÜÖ±½ÓʹÓá£ÕâЩ·ûºÅÊDz»ÏÔʾÔÚÎÒÃÇ×îÖÕ¿´µ½µÄÍøÒ³ÀïµÄ£¬ÄÇÈç¹ûÎÒÃÇÏ£ÍûÔÚÍøÒ³ÖÐÏÔʾÕâЩ·ûºÅ£¬¸ÃÔõô°ìÄØ£¿

Õâ¾ÍҪ˵µ½HTMLתÒå×Ö·û´®£¨Escape Sequence£©ÁË¡£

HTMLתÒå×Ö·ûÒ²³Æ×Ö·ûʵÌå±àºÅ¡£ÔÚHTMLÖУ¬¶¨ÒåתÒå×Ö·û´®µÄÔ­ÒòÓÐÁ½¸ö£ºµÚÒ»¸öÔ­ÒòÊÇÏñ"<"ºÍ">"ÕâÀà·ûºÅÒѾ­ÓÃÀ´±íʾHTML±êÇ©£¬Òò´Ë¾Í²»ÄÜÖ±½Óµ±×÷Îı¾ÖеķûºÅÀ´Ê¹Óá£ÎªÁËÔÚHTMLÎĵµÖÐʹÓÃÕâЩ·ûºÅ£¬¾ÍÐèÒª¶¨ÒåËüµÄתÒå×Ö·û´®¡£µ±½âÊͳÌÐòÓöµ½ÕâÀà×Ö·û´®Ê±¾Í°ÑËü½âÊÍΪÕæʵµÄ×Ö·û¡£ÔÚÊäÈëתÒå×Ö·û´®Ê±£¬ÒªÑϸñ×ñÊØ×Öĸ´óСдµÄ¹æÔò¡£µÚ¶þ¸öÔ­ÒòÊÇ£¬ÓÐЩ×Ö·ûÔÚASCII×Ö·û¼¯ÖÐûÓж¨Ò壬Òò´ËÐèҪʹÓÃתÒå×Ö·û´®À´±íʾ¡£

תÒå×Ö·ûµÄ×é³É

תÒå×Ö·û´®£¨Escape Sequence£©£¬¼´×Ö·ûʵÌå±àºÅ·Ö³ÉÈý²¿·Ö£ºµÚÒ»²¿·ÖÊÇÒ»¸ö&·ûºÅ£¬Ó¢ÎĽÐampersand£»µÚ¶þ²¿·Ö#ºÅ¼ÓÉϱàºÅ£»µÚÈý²¿·ÖÊÇÒ»¸ö·ÖºÅ¡£

±ÈÈ磬ҪÏÔʾСÓںţ¨<£©£¬¾Í¿ÉÒÔд &lt; »òÕß &#60; ¡£

ʵÌåÃû³Æ

ʵÌåÃû³Æ£¨Entity£©µÄºÃ´¦ÊDZȽϺÃÀí½â£¬ÈçСÓÚºÅ(<)ʵÌåÃû³Æ±íʾ¾ÍÊÇ£¨&lt;£©Ò»¿´lt£¬´ó¸Å¾Í²Â³öÊÇless thanµÄÒâ˼£¬µ«ÊÇÆäÁÓÊÆÔÚÓÚ²¢²»ÊÇËùÓеÄä¯ÀÀÆ÷¶¼Ö§³Ö×îеÄEntityÃû×Ö¡£¶øʵÌå±àºÅ£¬¸÷ÖÖä¯ÀÀÆ÷¶¼ÄÜ´¦Àí¡£

Ìáʾ£ºÊµÌåÃû³Æ£¨Entity£©ÊÇÇø·Ö´óСдµÄ¡£

±¸×¢£ºÍ¬Ò»¸ö·ûºÅ£¬¿ÉÒÔÓÃ"ʵÌåÃû³Æ"ºÍ"ʵÌå±àºÅ"Á½ÖÖ·½Ê½ÒýÓã¬"ʵÌåÃû³Æ"µÄÓÅÊÆÔÚÓÚ±ãÓÚ¼ÇÒ䣬µ«²»Äܱ£Ö¤ËùÓеÄä¯ÀÀÆ÷¶¼ÄÜ˳Àûʶ±ðËü£¬¶ø"ʵÌå±àºÅ"ÔòûÓÐÕâÖÖµ£ÓÇ£¬µ«ËüʵÔÚ²»·½±ã¼ÇÒä¡£

ÈçºÎÏÔʾ¿Õ¸ñ£¿

ͨ³£Çé¿öÏ£¬HTML»á×Ô¶¯½ØÈ¥¶àÓàµÄ¿Õ¸ñ¡£²»¹ÜÄã¼Ó¶àÉÙ¿Õ¸ñ£¬¶¼±»¿´×öÒ»¸ö¿Õ¸ñ¡£±ÈÈçÄãÔÚÁ½¸ö×ÖÖ®¼ä¼ÓÁË10¸ö¿Õ¸ñ£¬HTML»á½ØÈ¥9¸ö¿Õ¸ñ£¬Ö»±£ÁôÒ»¸ö¡£ÎªÁËÔÚÍøÒ³ÖÐÔö¼Ó¿Õ¸ñ£¬Äã¿ÉÒÔʹÓÃ&nbsp;±íʾ¿Õ¸ñ¡£


HTMLÌØÊâתÒå×Ö·ûÁбí

×î³£ÓõÄ×Ö·ûʵÌå
Character Entities

ÏÔ   ʾ ˵   Ã÷ ʵÌåÃû³Æ ʵÌå±àºÅ
°ë·½´óµÄ¿Õ°× &ensp; &#8194;
È«·½´óµÄ¿Õ°× &emsp; &#8195;
  ²»¶ÏÐеĿհ׸ñ &nbsp; &#160;
< СÓÚ &lt; &#60;
> ´óÓÚ &gt; &#62;
& &·ûºÅ &amp; &#38;
" Ë«ÒýºÅ &quot; &#34;
' µ¥ÒýºÅ &apos;(IE²»Ö§³Ö) &#39;
, ¶ººÅ   &#44;
; ·ÖºÅ   &#59;
: ðºÅ   &#58;
{ ´óÀ¨ºÅ×ó   &#123;
} ´óÀ¨ºÅÓÒ   &#125;
[  ÖÐÀ¨ºÅ×ó   &#91;
] ÖÐÀ¨ºÅÓÒ   &#93;
/ б¸Ü   &#47;
\ ·´Ð±¸Ü   &#92;
- Á¬×ֺŠ  &#45;
_ Ï»®Ïß   &#95;
( СÀ¨ºÅ×ó   &#40;
) СÀ¨ºÅÓÒ   &#41;
* ÐǺŠ  &#42;
. ¾äºÅ   &#46;

ISO 8859-1 (Latin-1)×Ö·û¼¯

HTML 4.01 Ö§³Ö ISO 8859-1 (Latin-1) ×Ö·û¼¯¡£

±¸×¢£ºÎªÁË·½±ãÆð¼û£¬ÒÔϱí¸ñÖУ¬"ʵÌåÃû³Æ"¼ò³ÆΪ"Ãû³Æ"£¬"ʵÌå±àºÅ"¼ò³ÆΪ"±àºÅ"

ÏÔʾ Ãû³Æ ±àºÅ ÏÔʾ Ãû³Æ ±àºÅ ÏÔʾ Ãû³Æ ±àºÅ ÏÔʾ Ãû³Æ ±àºÅ ÏÔʾ Ãû³Æ ±àºÅ
  &nbsp; &#160; ¡ &iexcl; &#161; ¡é &cent; &#162; ¡ê &pound; &#163; ¡è &curren; &#164;
£¤ &yen; &#165; | &brvbar; &#166; ¡ì &sect; &#167; ¡§ &uml; &#168; © &copy; &#169;
a &ordf; &#170; « &laquo; &#171; ¬ &not; &#172; - &shy; &#173; ® &reg; &#174;
¡¥ &macr; &#175; ¡ã &deg; &#176; ¡À &plusmn; &#177; 2 &sup2; &#178; 3 &sup3; &#179;
¡ä &acute; &#180; ¦Ì &micro; &#181; &para; &#182; ¡¤ &middot; &#183; ¸ &cedil; &#184;
1 &sup1; &#185; o &ordm; &#186; » &raquo; &#187; ¼ &frac14; &#188; ½ &frac12; &#189;
¾ &frac34; &#190; ¿ &iquest; &#191; ¨¤ &Agrave; &#192; ¨¢ &Aacute; &#193;  &Acirc; &#194;
à &Atilde; &#195; Ä &Auml; &#196; Å &Aring; &#197; Æ &AElig; &#198; Ç &Ccedil; &#199;
¨¨ &Egrave; &#200; ¨¦ &Eacute; &#201; ¨º &Ecirc; &#202; Ë &Euml; &#203; ¨¬ &Igrave; &#204;
¨ª &Iacute; &#205; Î &Icirc; &#206; Ï &Iuml; &#207; D &ETH; &#208; Ñ &Ntilde; &#209;
¨° &Ograve; &#210; ¨® &Oacute; &#211; Ô &Ocirc; &#212; Õ &Otilde; &#213; Ö &Ouml; &#214;
¡Á &times; &#215; Ø &Oslash; &#216; ¨´ &Ugrave; &#217; ¨² &Uacute; &#218; Û &Ucirc; &#219;
¨¹ &Uuml; &#220; Y &Yacute; &#221; T &THORN; &#222; ß &szlig; &#223; ¨¤ &agrave; &#224;
¨¢ &aacute; &#225; a &acirc; &#226; ã &atilde; &#227; ä &auml; &#228; å &aring; &#229;
æ &aelig; &#230; ç &ccedil; &#231; ¨¨ &egrave; &#232; ¨¦ &eacute; &#233; ¨º &ecirc; &#234;
ë &euml; &#235; ¨¬ &igrave; &#236; ¨ª &iacute; &#237; î &icirc; &#238; ï &iuml; &#239;
e &eth; &#240; ñ &ntilde; &#241; ¨° &ograve; &#242; ¨® &oacute; &#243; ô &ocirc; &#244;
õ &otilde; &#245; ö &ouml; &#246; ¡Â &divide; &#247; ø &oslash; &#248; ¨´ &ugrave; &#249;
¨² &uacute; &#250; û &ucirc; &#251; ¨¹ &uuml; &#252; y &yacute; &#253; t &thorn; &#254;
ÿ &yuml; &#255; + ÎÞ &#43;

ÊýѧºÍÏ£À°×Öĸ±êÖ¾
symbols, mathematical symbols, and Greek letters

ÏÔʾ Ãû³Æ ±àºÅ ÏÔʾ Ãû³Æ ±àºÅ ÏÔʾ Ãû³Æ ±àºÅ ÏÔʾ Ãû³Æ ±àºÅ ÏÔʾ Ãû³Æ ±àºÅ
ƒ &fnof; &#402; ¦¡ &Alpha; &#913; ¦¢ &Beta; &#914; ¦£ &Gamma; &#915; ¦¤ &Delta; &#916;
¦¥ &Epsilon; &#917; ¦¦ &Zeta; &#918; ¦§ &Eta; &#919; ¦¨ &Theta; &#920; ¦© &Iota; &#921;
¦ª &Kappa; &#922; ¦« &Lambda; &#923; ¦¬ &Mu; &#924; ¦­ &Nu; &#925; ¦® &Xi; &#926;
¦¯ &Omicron; &#927; ¦° &Pi; &#928; ¦± &Rho; &#929; ¦² &Sigma; &#931; ¦³ &Tau; &#932;
¦´ &Upsilon; &#933; ¦µ &Phi; &#934; ¦¶ &Chi; &#935; ¦· &Psi; &#936; ¦¸ &Omega; &#937;
¦Á &alpha; &#945; ¦Â &beta; &#946; ¦Ã &gamma; &#947; ¦Ä &delta; &#948; ¦Å &epsilon; &#949;
¦Æ &zeta; &#950; ¦Ç &eta; &#951; ¦È &theta; &#952; ¦É &iota; &#953; ¦Ê &kappa; &#954;
¦Ë &lambda; &#955; ¦Ì &mu; &#956; ¦Í &nu; &#957; ¦Î &xi; &#958; ¦Ï &omicron; &#959;
¦Ð &pi; &#960; ¦Ñ &rho; &#961; ς &sigmaf; &#962; ¦Ò &sigma; &#963; ¦Ó &tau; &#964;
¦Ô &upsilon; &#965; ¦Õ &phi; &#966; ¦Ö &chi; &#967; ¦× &psi; &#968; ¦Ø &omega; &#969;
? &thetasym; &#977; ? &upsih; &#978; ? &piv; &#982; &bull; &#8226; ¡­ &hellip; &#8230;
¡ä &prime; &#8242; ¡å &Prime; &#8243; £þ &oline; &#8254; &frasl; &#8260; &weierp; &#8472;
&image; &#8465; &real; &#8476; &trade; &#8482; &alefsym; &#8501; ¡û &larr; &#8592;
¡ü &uarr; &#8593; ¡ú &rarr; &#8594; ¡ý &darr; &#8595; &harr; &#8596; &crarr; &#8629;
&lArr; &#8656; &uArr; &#8657; &rArr; &#8658; &dArr; &#8659; &hArr; &#8660;
&forall; &#8704; &part; &#8706; &exist; &#8707; &empty; &#8709; &nabla; &#8711;
¡Ê &isin; &#8712; &notin; &#8713; &ni; &#8715; ¡Ç &prod; &#8719; ¡Æ &sum; &#8721;
&minus; &#8722; &lowast; &#8727; ¡Ì &radic; &#8730; ¡Ø &prop; &#8733; ¡Þ &infin; &#8734;
¡Ï &ang; &#8736; ¡Ä &and; &#8743; ¡Å &or; &#8744; ¡É &cap; &#8745; ¡È &cup; &#8746;
¡Ò &int; &#8747; ¡à &there4; &#8756; ¡« &sim; &#8764; ¡Ø &cong; &#8773; ¡Ö &asymp; &#8776;
¡Ù &ne; &#8800; ¡Ô &equiv; &#8801; ¡Ü &le; &#8804; ¡Ý &ge; &#8805; &sub; &#8834;
&sup; &#8835; &nsub; &#8836; &sube; &#8838; &supe; &#8839; ¨’ &oplus; &#8853;
&otimes; &#8855; ¡Í &perp; &#8869; &sdot; &#8901; ? &lceil; &#8968; ? &rceil; &#8969;
? &lfloor; &#8970; ? &rfloor; &#8971; ? &lang; &#9001; ? &rang; &#9002; &loz; &#9674;
&spades; &#9824; &clubs; &#9827; &hearts; &#9829; &diams; &#9830;

ÖØÒªµÄ¹ú¼Ê±ê¼Ç
markup-significant and internationalization characters

ÏÔʾ Ãû³Æ ±àºÅ ÏÔʾ Ãû³Æ ±àºÅ ÏÔʾ Ãû³Æ ±àºÅ ÏÔʾ Ãû³Æ ±àºÅ ÏÔʾ Ãû³Æ ±àºÅ
" &quot; &#34; & &amp; &#38; < &lt; &#60; > &gt; &#62; Œ &OElig; &#338;
œ &oelig; &#339; Š &Scaron; &#352; š &scaron; &#353; Ÿ &Yuml; &#376; ˆ &circ; &#710;
˜ &tilde; &#732; &ensp; &#8194; &emsp; &#8195; &thinsp; &#8201; &zwnj; &#8204;
&zwj; &#8205; &lrm; &#8206; &rlm; &#8207; ¨C &ndash; &#8211; ¡ª &mdash; &#8212;
&lsquo; &#8216; &rsquo; &#8217; &sbquo; &#8218; &ldquo; &#8220; &rdquo; &#8221;
&bdquo; &#8222; &dagger; &#8224; &Dagger; &#8225; ¡ë &permil; &#8240; &lsaquo; &#8249;
&rsaquo; &#8250; &euro; &#8364;

JavaScriptתÒå·û

תÒåÐòÁÐ ×Ö·û
\b Í˸ñ
\f ×ßÖ½»»Ò³
\n »»ÐÐ
\r »Ø³µ
\t ºáÏòÌø¸ñ (Ctrl-I)
\' µ¥ÒýºÅ
\" Ë«ÒýºÅ
\\ ·´Ð±¸Ü

±à³ÌµÄʱºòҪעÒâÌØÊâ×Ö·ûµÄÎÊÌ⣬ºÜ¶àÔËÐÐʱ³öÏÖµÄÎÊÌⶼÊÇÒòΪÌØÊâ×Ö·ûµÄ³öÏÖ¶øÒýÆðµÄ¡£

×¢Ò⣬ÓÉÓÚ·´Ð±¸Ü±¾ÉíÓÃ×÷תÒå·û£¬Òò´Ë²»ÄÜÖ±½ÓÔڽű¾ÖмüÈëÒ»¸ö·´Ð±¸Ü¡£Èç¹ûÒª²úÉúÒ»¸ö·´Ð±¸Ü£¬±ØÐëÒ»Æð¼üÈëÁ½¸ö·´Ð±¸Ü (\\)¡£


±¾ÎÄÓÉCodeAE´úÂëÖ®¼Ò-ÊÕ¼¯×ÔÍøÂç,½ö¹©²Î¿¼²âÊÔÓᣠCodeAE´úÂëÖ®¼Ò:www.codeae.com