Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

HTMLÁ¬ÐøÓ¢ÎÄ×Ö·û´®Ç¿ÖÆ»»ÐÐ

´ó¼Ò¶¼ÖªµÀÔÚtableµÄijһ¸ñÀï²åÈëÎı¾Ê±,Èç¹ûÊÇÖÐÎĵ±È»ÊÇûÓÐÎÊÌâ,µ±µ½´ïÖ¸¶¨¿í¶Èʱ»á×Ô¶¯»»ÐÐ,µ«Èç¹ûÊÇÓ¢ÎÄ»òÊý×ÖÖ®ÀàµÄ¾Í»áÓÐÎÊÌâÁË.ÒòΪËüÊÇÒÔ¿Õ¸ñΪӢÎĵ¥´Ê¼äµÄÇø±ð,µ«ÊÇÈç¹ûÊäÈëÒ»³¤´®Ó¢ÎÄ,Öм䲻º¬¿Õ¸ñʱ,±í¸ñ¾Í±äÐÎÁË.µ«ÊÂʵtableµÄstyleÀïÓÐÒ»Ïî¿ÉÒÔÈÃÓ¢ÎÄÇ¿ÖÆ»»ÐеÄ,¾ÍÊÇword-break,µ±°ÑÕâÏîÉèΪbreak-allʱ´ó¼Ò¾Í¿ÉÒÔ¿´µ½Ð§¹ûÁË.
 
ʾÀý´úÂ룺
¡¡¡¡
¡¡¡¡< table width="100%" style="word-break:break-all">
¡¡¡¡  < td width="20%">
                    aaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbcccccccccccc
        < /td>
        < td width="80%">< /td>
      < /table>
word-break»¹ÓÐÁ½¸öÑ¡Ïî:normal¾ÍÊÇͨ³£µÄ,²»ÉèÖÃʱµÄЧ¹ûÁË¡£
¡¡¡¡
keep-all:ÔòÊǺÍbreak-allÏà·´,ÊDz»¹Üʲô×Ö·ûÔÚûÓпոñºÍ»»ÐзûµÄÇé¿ö϶¼²»»»ÐС£


Ïà¹ØÎĵµ£º

HTML 5 ʼþÊôÐÔ


±ê׼ʼþÊôÐÔ
HTML 4 Ôö¼ÓÁËͨ¹ýʼþ´¥·¢ä¯ÀÀÆ÷ÖÐÐÐΪµÄÄÜÁ¦£¬±ÈÈçµ±Óû§µã»÷ij¸öÔªËØʱÆô¶¯Ò»¶Î JavaScript¡£
Èç¹ûÐèҪѧϰ¸ü¶àÓйØʹÓÃÕâЩʼþ½øÐбà³ÌµÄÄÚÈÝ£¬ÇëѧϰÎÒÃÇµÄ JavaScript ½Ì³Ì ºÍ DHTML ½Ì³Ì¡£
ÏÂÃæµÄ±í¸ñÁгöÁ˿ɲåÈë HTML 5 ÔªËØÖÐÒÔ¶¨ÒåʼþÐÐΪµÄ±ê׼ʼþÊôÐÔ¡£
HTML 4.01 Óë HTML 5 Ö®¼äµÄ²îÒì ......

phpÈ¥³ýhtmlÖеÄscript

//È¥³ý script ½Å ±¾
function delScript($string){
$pregfind = array("/<script.*>.*<\/script>/siU",'/on(mousewheel|mouseover|click|load|onload|submit|focus|blur)="[^"]*"/i');
$pregreplace = array('','');
$string = preg_replace($pregfind, $pregreplace, $string);
return $str ......

Ò»¶Îhtml´úÂëÒý·¢µÄÒ³ÃæÖظ´ÇëÇóÎÊÌâ

<meta http-equiv="Refresh" content="0; url=">

Õâ¸öÒ³Ãæ±¾À´ÊÇ˵ÿ¸ô0ÃëË¢ÐÂÒ»ÏÂÒ³Ã棬²¢Ìøתµ½urlËùÖ¸¶¨µÄÒ³ÃæÈ¥£¬Æäʵ¾ÍÏ൱ÓÚÒ³ÃæÌøת¡£µ«ÊÇʵ¼ÊÊÇÓÉÓÚurlΪ¿Õ£¬ÕâÑù¾Í²»Í£µÄÇëÇóÕâÕÅÒ³Ã棬µ¼ÖÂÒ³Ãæ¿ñË¢¡£ÔÚ´óÐÍÓ¦ÓÃÖÐÓÈÆä×¢ÒâÕâµã¡£ ......

javascript ¿ØÖÆ htmlÔªËØ ÏÔʾ/Òþ²Ø

javascript ¿ØÖÆ htmlÔªËØ ÏÔʾ/Òþ²Ø
1¡£±àдjsº¯Êý
 <script type="text/javascript">
function display(y){$(y).style.display=($(y).style.display=="none")?"":"none";}
function $(s){return document.getElementById(s);}
 </script>
2. ÒªÏÔÊ ......

asp.net½áºÏhtml£¬javascriptʵÏÖÎÞˢпçÓòÊý¾ÝÌá½»

ÐèÇó£º
AÓòÓÐÒ³Ãæa.html£¬ÆäÖÐÓÐiframe°üº¬BÓòµÄÒ³Ãæb.html£¬ÏÖÔÚҪͨ¹ýa.htmlÉϵÄÒ»¸ö°´Å¥£¬À´°Ña.htmlÒ³ÃæÉÏÒ»¸öÎı¾¿òµÄÖµ´«µÝµ½b.htmlÒ³ÃæµÄÎı¾¿ò¡£
×¢£ºÕâÀïb.htmlÊÇhtmlÍøÒ³£¬²»ÄܽÓÊÕÆäËûÍøÕ¾post¹ýÀ´µÄÖµ£¬ËùÒÔ²»ÄÜÓÃÖ±½ÓpostµÄ·½·¨À´´«Öµ£¬µ«ÊÇ£¬Èç¹û½ÓÊÕÒ³ÃæÊÇb.aspx»òÕßb.asp ÄØ£¬ÄDz»ÊÇ¿ÉÒÔÖ±½ÓpostÁËô£¿´ð ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ