XMLºÍHTML³£ÓÃתÒå×Ö·û
XMLºÍHTML³£ÓÃתÒå×Ö·û
XMLºÍHTMLÖж¼ÓÐһЩÌØÊâµÄ×Ö·û£¬ÕâЩ×Ö·ûÔÚXMLºÍHTMLÖÐÊDz»ÄÜÖ±½ÓʹÓõģ¬Èç¹û±ØÐëʹÓÃÕâЩ×Ö·û£¬Ó¦¸ÃʹÓÃÆä¶ÔÓ¦µÄתÒå×Ö·û¡£
Èç¹ûÔÚXMLÎĵµÖÐʹÓÃÀàËÆ"<" µÄ×Ö·û, ÄÇô½âÎöÆ÷½«»á³öÏÖ´íÎó£¬ÒòΪ½âÎöÆ÷»áÈÏΪÕâÊÇÒ»¸öÐÂÔªËصĿªÊ¼¡£
ËùÒÔ²»Ó¦¸ÃÏñÏÂÃæÄÇÑùÊéд´úÂë:
<message>if salary < 1000 then</message>
¡¡¡¡ÎªÁ˱ÜÃâ³öÏÖÕâÖÖÇé¿ö£¬±ØÐ뽫×Ö·û"<" ת»»³É“<”£¬ÈçÏÂÃæÕâÑù:
<message>if salary < 1000 then</message>
XML³£ÓÃתÒå×Ö·û£º
×Ö·û
תÒå×Ö·û
ÃèÊö
&
&
ºÍ
<
<
СÓÚºÅ
>
>
´óÓÚºÅ
"
"
Ë«ÒýºÅ
'
'
µ¥ÒýºÅ
¡¡HTMLÖÐ<, >£¬&µÈÓÐÌØÊ⺬Ò壬(Ç°Á½¸ö×Ö·ûÓÃÓÚÁ´½ÓÇ©£¬&ÓÃÓÚתÒå)£¬²»ÄÜÖ±½ÓʹÓá£Ê¹ÓÃÕâÈý¸ö×Ö·ûʱ£¬Ó¦Ê¹ÓÃËüÃǵÄתÒå×Ö·û¡£
HTML³£ÓÃתÒå×Ö·û£º
×Ö·û
תÒå×Ö·û
ÃèÊö
&
&
ºÍ
<
<
СÓÚºÅ
>
>
´óÓÚºÅ
"
"
Ë«ÒýºÅ
¿Õ¸ñ
©
©
°æȨ·û
®
®
×¢²á·û
TM
&trade
É̱ê
˵Ã÷£º×ªÒå×Ö·ûÓ¦ÒÔ“&”¿ªÍ·£¬ÒÔ“;”½áβ¡£
ÐèҪ˵Ã÷µÄÊÇ£º
1. תÒåÐòÁи÷×Ö·û¼ä²»ÄÜÓпոñ£»
2. תÒå×Ö·ûÓ¦ÒÔ“&”¿ªÍ·£¬ÒÔ“;”½áβ
3. µ¥¶ÀµÄ&²»±»ÈÏΪÊÇתÒ忪ʼ£»
4. Çø·Ö´óСд¡£
²Î¿¼url:
http://bei-jin-520.javaeye.com/blog/360765
http://www.souzl.com/article/2008/1103/article_98.html
Ïà¹ØÎĵµ£º
Loading XML data using ActionScript 3.0
By Blue_Chi | Flash CS3 | ActionScript 3.0 | Beginner
Using XML is one of the best ways for structuring external content in a logical format that is easy to understand, process, and update. This tutorial will teach you the basics on how to load and process X ......
html ³¬Á´½Ó ÊôÐÔ
HTML ʹÓ󬼶Á´½ÓÓëÍøÂçÉϵÄÁíÒ»¸öÎĵµÏàÁ¬¡£
ê±êÇ©ºÍ Href ÊôÐÔ
HTML ʹÓà <a> £¨Ãª£©±êÇ©À´´´½¨Á¬½ÓÁíÒ»¸öÎĵµµÄÁ´½Ó¡£
ê¿ÉÒÔÖ¸ÏòÍøÂçÉϵÄÈκÎ×ÊÔ´£ºÒ»ÕÅ HTML Ò³Ã棬һ·ùͼÏñ£¬Ò»¸öÉùÒô»òÊÓƵÎļþµÈµÈ¡£
´´½¨ÃªµÄÓï·¨£º
<a href="url">Text to be displayed</a>
ÀýÈ磺
& ......
ÒòΪWap2.0ʹÓÃXHTMLÓïÑÔ²¢¼æÈÝWML£¬ÒÔÏÂÊÇÍøÉÏÕÒµÄXHTMLºÍHTMLµÄÇø±ð
XHTMLÏà±ÈÓÚHTML
1.ËùÓеıê¼Ç¶¼±ØÐëÒªÓÐÒ»¸öÏàÓ¦µÄ½áÊø±ê¼Ç
ÒÔÇ°ÔÚHTMLÖУ¬Äã¿ÉÒÔ´ò¿ªÐí¶à±êÇ©£¬ÀýÈçºÍ<li>¶ø²»Ò»¶¨Ð´¶ÔÓ¦µÄ
ºÍ</li>À´¹Ø±ÕËüÃÇ¡£µ«ÔÚXHTMLÖÐÕâÊDz»ºÏ·¨µÄ¡£XHTMLÒªÇóÓÐÑϽ÷µÄ½á¹¹£¬ËùÓбêÇ©±ØÐë ......
HTML ¼òÊ·
HTML ÊÇ Web ͳһÓïÑÔ£¬ÕâЩÈÝÄÉÔÚ¼âÀ¨ºÅÀïµÄ¼òµ¥±êÇ©£¬¹¹³ÉÁËÈç½ñµÄ Web¡£1991 Ä꣬Tim Berners-Lee ±àдÁËÒ»·Ý½Ð×ö “HTML ±êÇ©”µÄÎĵµ£¬ÀïÃæ°üº¬ÁË´óÔ¼20¸öÓÃÀ´±ê¼ÇÍøÒ³µÄ HTML ±êÇ©¡£ËûÖ±½Ó½èÓà SGML µÄ±ê¼Ç¸ñʽ£¬Ò²¾ÍÊǺóÀ´ÎÒÃÇ¿´µ½µÄ HTML ±ê¼ÇµÄ¸ñʽ¡£±¾ÎĽ²Ê ......