jQuery ÉèÖúͻñÈ¡HTML£¬Îı¾ºÍÖµ
¢Ùhtml() Ï൱ÓÚinnerHTMLÊôÐÔ ¿ÉÒÔÓÃÓëXHTMLÎĵµ£¬µ±²»ÄÜÓÃÓÚXMLÎĵµ var p_html = $("p").html(); //»ñÈ¡ÔªËØµÄHTML´úÂë $("p").html("......."); //ÉèÖÃÔªËØµÄHTML´úÂë ¢Útext() Ï൱ÓÚinnerTextÊôÐÔ ¶ÔXHTMLºÍXML¶¼ÓÐЧ ¢Ûval() ÀàËÆÓÚvalueÊôÐÔ var txt_value = $(this).val(); $(this).val("....."); defaultValueÊôÐÔ°üº¬¸Ã±íµ¥ÔªËصijõʼֵ¡£ var txt_value = this.defaultValue; val()»¹¿ÉÒÔÓÃÓÚÑ¡ÖÐ select¡¢checkbox¡¢radioÏàÓ¦Ïî¡£ $("#multiple").val("µÚÒ»Ïî"£¬"µÚ¶þÏî")£» ÔÚvalueºÍtextÖдӺóÏòǰѰÕÒ¡£
Ïà¹ØÎĵµ£º
<html >
<body style="margin:0;overflow:hidden">
<div>
<table style="width:100%;height:100%">
<!--<tr>
& ......
HTMLÎĵµÖ÷ÒªÓÉÈý²¿·Ö¹¹³É£ºÐò(Prologue)¡¢Í·£¨Head£©ºÍÖ÷Ìå(Body)¡£
“Ðò”λÓÚHIMLÎĵµµÄµÚÒ»ÐУ¬ËüµÄ×÷ÓÃÊǰѱàдÕâ¸öH1MLÎĵµÊ¹ÓõÄHTML
°æ±¾ºÅ¸æË߸øä¯ÀÀÆ÷¡£ÐòÔÚHTML3£®o°æ±¾Ö®Ç°½ÏÉÙʹÓá£
“Í·”ÓÃÀ´±êʶÕû¸öHTMLÎĵµµÄÊôÐÔ£¬ËüÓëÎÒÃdz£ÓõÄEmailÖе ......
9.HTML ¿ò¼Ü
¿ò¼Ü
ͨ¹ýʹÓÿò¼Ü£¬Äã¿ÉÒÔÔÚͬһ¸öä¯ÀÀÆ÷´°¿ÚÖÐÏÔʾ²»Ö¹Ò»¸öÒ³Ãæ¡£Ã¿·ÝHTMLÎĵµ³ÆÎªÒ»¸ö¿ò¼Ü£¬²¢ÇÒÿ¸ö¿ò¼Ü¶¼¶ÀÁ¢ÓÚÆäËûµÄ¿ò¼Ü¡£
ʹÓÿò¼ÜµÄ»µ´¦£º
¿ª·¢ÈËÔ±±ØÐëͬʱ¸ú×Ù¸ü¶àµÄHTMLÎĵµ
ºÜÄÑ´òÓ¡ÕûÕÅÒ³Ãæ
¿ò¼Ü½á¹¹±êÇ©£¨<frameset>£©
¿ò¼Ü½á¹¹±êÇ©£¨<frameset>£©¶¨ÒåÈçºÎ½«´°¿Ú·Ö¸îΪ¿ò ......
ÔÚÍøÉÏÕÒÁËºÜ¶à¹ØÓÚÕâ·½ÃæµÄ×ÊÁÏ£¬°üÀ¨ºÜ¶à¿ªÔ´¹¤¾ß¡£
µ«ÊÇ×îºó·¢ÏÖAndroidÀà android.text.Html ÀïÓÐÕâÑùÒ»¸ö·½·¨£º
//Returns displayable styled text from the provided HTML string.
static Spanned fromHtml(String source)
¾ÍÊǵ±´«Èëhtml¸ñʽµÄsourceºó£¬·µ»ØSpannedÀàÐ͵ĶÔÏó£¬È»ºóÖÐÔÙtoString()¾ÍµÃµ½Txtµ ......
ÍøÉÏÁ÷´«ºÜ¾ÃµÄÒ»·Ý×ÊÁÏ¡¶SEOÖÐHTML±êÇ©È¨ÖØ¡·£¬ÕâÀï×öÒ»·Ý±¸·Ý¡£
HTML±êÇ©È¨ÖØ·ÖÖµÅÅÁÐ
ÄÚ²¿Á´½ÓÎÄ×Ö£º10·Ö
±êÌâtitle£º10·Ö
ÓòÃû£º7·Ö
H1£¬H2×ֺűêÌ⣺5·Ö
ÿ¶ÎÊ׾䣺5·Ö
·¾¶»òÎļþÃû£º4·Ö
ÏàËÆ¶È£¨¹Ø¼ü´Ê¶Ñ»ý£©£º4·Ö
ÿ¾ä¿ªÍ·£º1.5·Ö
¼Ó´Ö»òбÌ壺1·Ö
Îı¾Ó÷¨£¨ÄÚÈÝ£© ......