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

¼òµ¥µÄ±£Ö¤Ô­ÑùÊä³öhtmlµÄc#´úÂë

 public string NoExcuteHtml(string Htmlstring)
    {
        string x = string.Empty;
        x = Htmlstring.Replace(@"&", "&");//½«&ÉèÖÃΪ±£Áô×Ö
        x = x.Replace(@"<", "&lt;"); 
        x = x.Replace(@">", "&gt;");
        x = x.Replace(@" ", "&nbsp;");
        x = x.Replace("\r\n", "<br/>");
        return x;
    }


Ïà¹ØÎĵµ£º

HTML±í¸ñÔÚIEÖÐֵΪ¿Õʱ²»ÏÔʾ±í¸ñ±ß¿òµÄ½â¾ö·½·¨

<table border="1" style="empty-cells:show; border-collapse:collapse;"> 
    <tr><td>111</td><td></td> 
    <tr><td></td><td>2222</td> 
<table> 
attention: 
style="empty ......

C#ÏîÄ¿´ò°ü£¬²¢×Ô¶¯°²×°SQLÊý¾Ý¿â

ӦһλÍøÓѵÄÐèÇ󣬲¢ÐÞÕýÁËMVPÀîºé¸ù".NETƽ̨ÏÂWEBÓ¦ÓóÌÐòµÄ²¿Êð(°²×°Êý¾Ý¿âºÍ×Ô¶¯ÅäÖÃ)"ÖеÄosqlÓ÷¨´íÎó£¬ÒѲâÊÔͨ¹ý¡£
Ò»).´´½¨²¿ÊðÏîÄ¿
1. ÔÚ“Îļþ”²Ëµ¥ÉÏÖ¸Ïò“Ìí¼ÓÏîÄ¿”£¬È»ºóÑ¡Ôñ“н¨ÏîÄ¿”¡£
2. ÔÚ“Ìí¼ÓÐÂÏîÄ¿”¶Ô»°¿òÖУ¬Ñ¡Ôñ“ÏîÄ¿ÀàÐÍ”´°¸ñÖ ......

Html ÎÄ×Ö¹ö¶¯

¹ö¶¯×ÖÄ»»áÈúܶàÈ˸е½ÐË·Ü£¬ÌرðÊǵÚÒ»´ÎʹÓùö¶¯×ÖĻʱ£¬»á°®²»ÊÍÊÖ¡£ÏÖÔÚ×öÒ»¸öÏêϸµÄ·½°¸£¬ÈÃÄã¸üÈ«ÃæµØÁ˽âһϡ£
¡¡¡¡¹ö¶¯×ÖÄ»ÔÚFrontPageµÄ×é¼þÀïÓУ¬µ«ÊÇFrontPageÕâ¸öÈí¼þÖ»ÄÜÖ§³Öµ¥ÐÐÎÄ×Ö£¬Ò»³öÏÖ¶àÐÐÎÄ×ÖËü¾ÍÎÞÄÜΪÁ¦ÁË£¬¶øÇÒËüÖ»ÄÜÖ§³ÖÒ»Ðйö¶¯!(Èç¹û³öÏÖÖ»Äܹö¶¯Ò»ÐеÄÇé¿ö£¬½â¾ö°ì·¨ÊÇ°ÑÕâ¶Î´úÂëǶÈëµ½Java ......

ÕýÔò±í´ïʽ»ñÈ¡HTML±ê¼ÇÖеÄÄÚÈÝ£¨C#£©


ÕýÔò±í´ïʽ»ñÈ¡HTML±ê¼ÇÖеÄÄÚÈÝ£¨C#£©
//=====================Begin1========================
            //ÊÔÑé×Ö·û´®
            string strTmp = string.Empty;
    &n ......

FlashºÍHTML5ÄǵãÊÂ

À´Ô´£ºhttp://club.it.sohu.com/r-it-1350941-0-0-0.html
Ç°ÑÔ
×î½ü¹ØÓÚHTML5 ³³µÃ»ðÈÈ£¬ºÜ¶àÈËÈÏΪHTML5³öÏÖ»áÃëɱFlash£¬ÒÔÖÁÓÚÔÚ¸÷´ówebÇ°¶Ë¿ª·¢ÂÛ̳³³µÃ²»¿É¿ª½»¡£ÂÛ̳ÀïÈýÑÔÁ½Óï˵µÄ²»¹»¾¡ÐË£¬Ö»ºÃÔÚ×Ô¼ºÒ»Ä¶Èý·ÖµØÀﳨ¿ªÁË˵˵¡£Ò²µ±Ò»´ÎÉñ¹÷£¬Õ¹ÍûÒ»ÏÂwebÇ°¶Ë¿ª·¢µÄδÀ´¡£
Ê×ÏÈÕâÀïËù˵µÄHTML5Ò²²»½öÖ¸HTML5 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ