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

È¥³ýHTML¸ñʽ ½ØÈ¡×Ö·û´®

  //½ØÈ¡²¿·ÖÄÚÈÝ·½·¨
        public static string strvalue(string value, int length)
        {
            string strValue = NoHTML(value);// È¥³ýHTML±ê¼Ç
            if (strValue.Length > length)
            {
                return strValue.Substring(0, length) + "...";
            }
            else
            {
                return strValue;
            }
        }
        #region »Ø³µ,¿Õ¸ñ¹ýÂË
        /**/
        /// <summary>
        /// È¥³ýHTML±ê¼Ç
        /// </summary>
        /// <param name="NoHTML">°üÀ¨HTMLµÄÔ´Âë </param>
        /// <returns>ÒѾ­È¥³ýºóµÄÎÄ×Ö</returns>
        public static string NoHTML(string Htmlstring)
        {
            //ɾ³ý½Å±¾
            Htmlstring = Regex.Replace(Htmlstring, @"<script[^>]*?>.*?</script>", "",
            RegexOpti


Ïà¹ØÎĵµ£º

html±êÇ©´óÈ«

¾²Ì¬½á¹¹
£¼html£¾
£¼head£¾
£¼title£¾±êÌ⣼title£¾
£¼/head£¾
£¼body£¾..........ÎļþÄÚÈÝ..........
£¼/body£¾
£¼/html£¾
1.Îļþ±êÌâ
£¼title£¾..........£¼/title£¾
2.Îļþ¸üÐÂ--£¼meta£¾
¡¡¡¾1¡¿10Ãëºó×Ô¶¯¸üÐÂÒ»´Î
¡¡¡¡£¼meta http-equiv="refresh" content=10£¾
¡¡¡¾2¡¿10Ãëáá×Ô¶¯Á¬½áµ½ÁíÒ»Îļþ
¡¡¡¡ ......

C#.netÖÐÓÃWinForm½ÓÊÕhtmlÒ³ÃæÏûÏ¢µÄ³ÌÐò

Ê×ÏÈдһ¸öÒ³Ãæ£¬ÉÏÃæÒª·ÅÒ»¸öButton
<html>
 <head>
  <title></title>
 </head>
 <body>
        <input id="Button1" type="button" value="button" />
 
 </body>
</html>
½«Æä±£´ ......

html¿ªÔ´ÍøÓÎ

תhttp://topic.csdn.net/u/20100121/13/8DD559AF-FED9-42D5-9A15-FB974F03068A.html
ºÇ,È˳ª¸èµÄ,ÅĵçÓ°µÄŪºÃ×÷Æ·Òª¸ã·¢²¼»á,ÎÒҲѧϰÁËÃû´Ê,Ò²¸ã³ÌÐò×÷Æ··¢²¼»á
¸÷λͬÈÊ,×öºÃÐÄÀí×¼±¸^-^
ÒòΪ,Äú¼´½«¿´µ½ºÍÍæµ½,Ò»¸ö×ãÒÓÁíÄã´ó¿ªÑÛ½ç/¶úĿһÐÂµÄÆæÃî³ÌÐò.
±¾ÓÎÏ·½öÐè128MÄÚ´æµÈ¹Å¶­ÅäÖÃ,Èç¹ûÄãÊÇ2GÄÚ´æ/Ë«ºË/Ëĺ ......

Struts1µÄHTML±êÇ©¿â

<html:html>±êÇ©ÓÐÒ»¸ö lang ÊôÐÔ£¬ÓÃÓÚÏÔʾÓû§Ê¹ÓõÄÓïÑÔ£º
  <html:html lang="true">
    Èç¹û¿Í»§ä¯ÀÀÆ÷ʹÓÃÖÐÎÄ£¬ÄÇôÒÔÉÏ´úÂëÔÚÔËÐÐʱ½«±»½âÎöΪÆÕͨµÄ HTML ´úÂ룺
  <html lang="zh-CN">
    ½âÊÍ£ºµ± lang ÊôÐÔΪ "true ......

ͨÓÃPHP¶¯Ì¬Éú³É¾²Ì¬HTMLÍøÒ³µÄ´úÂë

×î½üÑо¿PHPµÄһЩ¿ª·¢¼¼Êõ£¬·¢ÏÖPHPÓкܶàASPËùûÓеÄÓÅÐ㹦ÄÜ£¬¿ÉÒÔÍê³ÉһЩÒÔǰÎÞ·¨Íê³ÉµÄ¹¦ÄÜ£¬ÀýÈ綯̬Éú³ÉHTML¾²Ì¬Ò³Ã棬ÒÔ¼õÉÙ·þÎñÆ÷CPUµÄ¸ºÔØ£¬Ìá¸ßÓû§·ÃÎʵÄËÙ¶È¡£
¡¡¡¡ÎÒÃÇÖªµÀ£¬PHP¶ÁÈ¡MYSQL¶¯Ì¬ÏÔʾ£¬ÔÚ·ÃÎÊÁ¿´óµÄÇé¿öÏ£¬»áÓкܶàÐÔÄÜÎÊÌ⣬Èç¹û×âÓñðÈ˵ÄÐéÄâÖ÷»ú£¬Ôò»áÒòΪCPUÏûºÄ¹ý¶à¶ø±»ÏÞÖÆCPU£¬µ¼ÖÂÍø ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ