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

ÈçºÎ½«Ò»¸öHTMLÒ³ÃæǶÌ×ÔÚÁíÒ»¸öÒ³ÃæÖÐ


Õâ¸öÔÚ×öÍøÒ³Öг£ÒªÓõ½£¬ÓÐЩͨÓõÄÄÚÈݿɼ¯ÖзÅÔÚÒ»¸öÒ³ÃæÎļþÖУ¬ÆäËüÒªÓõ½ÕâЩÄÚÈݵÄÒ³ÃæÖ»ÐèÒª°üº¬£¨ÒýÓã©Õâ¸öͨÓÃÎļþ¼´¿É¡£ÕâÑù±ãÓÚά»¤£¬Èç¹ûÓкܶàÍøÒ³£¬µ±Í¨ÓÃÄÚÈÝÐèÒªÐÞ¸Äʱ£¬Ö»¸ÄÒ»¸öÎļþ¾Í¿ÉÒÔÁË£¬²»ÐèҪÿ¸öÎļþµ¥¶ÀÐ޸ġ£
×îµäÐ͵ÄÓ¦ÓñÈÈçÒ³½ÅµÄ°æȨÐÅÏ¢µÈÄÚÈÝ¿ÉÒÔ·ÅÔÚÒ»¸ö½Ð×öfooter.htmlÎļþÀ È»ºóÆäËûÒ³ÃæÎļþÔÚÒ³ÃæÄÚÈݵÄ×îºó°üº¬Õâ¸öÎļþ¾Í¿ÉÒÔÁË£¬¾ßÌåÀý×ÓÏÂÃæÓС£
ÒªhtmlÎļþǶÌ×£¬×î¼òµ¥µÄ°ì·¨ÊÇʹÓÃSSI£¨Server Side Include)¼¼Êõ£¬Ò²¾ÍÊÇÔÚ·þÎñÆ÷¶ËÁ½¸öÎļþ¾Í±»ºÏ²¢ÁË¡£³ýÁËÉÙÊýÃâ·ÑÍøÒ³¼Ä´æ·þÎñÍ⣬¼¸ºõËùÓеÄÍøÒ³¼Ä´æ·þÎñÆ÷¶¼Ö§³Ö SSI¡£ÕâÒ²ÊÇÒ»¸ö±È½ÏÍƼöµÄ·½·¨£¬ËüÓëASPºÍASP.NETÍøҳʹÓõÄÓ﷨һģһÑù¡£Èç¹ûÍøÕ¾¹ÜÀíԱƫÏòʹÓÃPHP»òJSPµÄ»°£¬Óï·¨»áÉÔÓв»Í¬¡£
¶ÔÓÚ²»ÄÜʹÓÃSSI¡¢ASP¡¢ASP.NET¡¢PHPºÍJSPµÈ·þÎñÆ÷¶Ë¶¯Ì¬Ò³ÃæÓïÑÔµÄÇé¿ö£¬ÕâÀﻹ½«½éÉÜÁ½ÖÖ¿Í»§¶ËÏâǶµÄ°ì·¨£ºJavaScriptºÍiframeµÄ·½·¨¡£µ±ÕâÁ½ÖÖ¿Í»§¶ËµÄ·½·¨¶¼ÓкܴóµÄ±×²¡£¬Ò»°ã²»ÍƼöʹÓá£
ÏÂÃæ¶Ô¸÷ÖÖ·½·¨µ¥¶À¾ßÌå½éÉÜ¡£
1¡¢SSI (Server Side Include)
SSIÊÇÒ»ÖÖ¼òµ¥µÄ¶¯Ì¬ÍøÒ³ÖÆ×÷¼¼Êõ£¬µ«ÊÇÓÐЩ·þÎñÆ÷ÒªÇóÍøÒ³ÎļþÀ©Õ¹ÃûΪ.shtml²ÅÄÜʶ±ðÎļþÖÐSSIÃüÁî¡£ËùÒÔÈç¹ûÄãµÄSSIÃüÁî¿´ÆðÀ´²»¹¤×÷£¬Ïȱð·ÅÆú£¬ÊÔ×Å°ÑÎļþÀ©Õ¹Ãû¸ÄΪ.shtml£¬Ò²Ðí»á³É¹¦¡£Èç¹ûÖªµÀ×Ô¼ºµÄ·þÎñÆ÷ÊÇ·ñÖ§³ÖSSI£¬Çë¿´ÁíһƪÎÄÕ¡£
ʹÓÃSSIÒ»¸ö¾ÖÏÞÐÔÊÇÒ³ÃæÒ»¶¨Òª·ÅÔÚÍøÒ³·þÎñÆ÷ÉϲÅÄÜ¿´µ½Ð§¹û£¬ÔÚ±¾µØÊDz»ºÃµ÷ÊԵġ£µ±È»£¬Èç¹û·ÇÒªÔÚ±¾µØµ÷ÊÔ£¬¾Í±¾µØ×°Ò»¸öApache·þÎñÆ÷ºÃÁË¡£
±ÈÈçÄãÏëÔÚÿ¸öÍøÒ³µÄµ×²¿¼ÓÉÏͬÑùµÄ°æȨÐÅÏ¢£¬Ïñ
© 2009 ³ÌÐòԱʵÑéÊÒ °æȨËùÓÐ
¿ÉÒÔ°ÑÕâÐÐÐÅÏ¢·Åµ½Ò»¸ö½Ð×öfooter.htmlµÄÎļþÀfooter.htmlµÄÄÚÈÝΪ£º
<center> &copy; ³ÌÐòԱʵÑéÊÒ °æȨËùÓÐ</center>;
ÕâÑùͬһ·¾¶ÏµÄÆäËûÒ³ÃæÎļþÒª°üº¬footer.htmlµÄSSIÃüÁîÊÇ£º
<!- #include virtual="footer.html" ->£¨³£Óã©
»òÕß
<!- #include file="footer.html" ->
ÕâÁ½Õߵļ¸ºõÊÇÒ»ÑùµÄ£¬²»Í¬Ö®´¦ÔÚÓÚinclude virtualºóÃæÈ¡µÄÊÇÒ»¸öURLÐÎʽµÄ·¾¶£¬ÉõÖÁ»¹¿ÉÒÔÖ´ÐÐÒ»¸öCGI³ÌÐò²¢°üº¬ÆäÊä³ö½á¹û£¬Èç¹ûÄãµÄ·þÎñÆ÷Ö§³ÖCGIµÄ»°¡£¶øinclude fileºóÃæÈ¡µÄÊÇÒ»¸öÎļþϵͳ·¾¶£¬²¢ÇÒ²»ÄÜÖ´ÐÐCGI³ÌÐò¡£Á½Õ߶¼¿ÉÒÔ½ÓÊÜÏà¶Ô·¾¶£¬ËùÒÔ¶ÔÉÏÃæÕâ¸ö¼òµ¥Àý×Ó£¬Á½ÕßµÄЧ¹ûÊÇÒ»ÑùµÄ¡£Èç¹ûÄã²»ÖªµÀURL·¾¶ÓëÎļþϵͳ·¾¶Á½ÕßµÄÇø±ðµÄ»°£¬¾ÍÓÃinclude virtual
¸ü¶à¹ØÓ


Ïà¹ØÎĵµ£º

Web¿ª·¢ µÚÒ»²¿·Ö HTML½Ì³Ì»ù´¡£¨Áù£© »»ÐбêÇ©

1¡¢Ö±½Ó»»ÐÐ
ÊäÈëÈçÏ´úÂ룺
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=g ......

HTML5 ÓëFlash ´ÓÇDz¼Ë¹ÌÖÑáFlash˵Æð

¸öÈ˾õµÃÕâÊDZê×¼Óë˽Óбê×¼µÄPK£¬ ¾ÍÏñ΢ÈíµÄofficeºÍÆäËûofficeÈí¼þ,Èç½ðɽwps£¬openofficeµÄ¾ºÕùÀàËÆ¡£
´ÓÓû§½Ç¶È¿´PKÔ½¶àÔ½ºÃ£¬ºÇºÇ¡£
http://www.javaeye.com/news/15856-apple-flash
http://www.w3school.com.cn/html5/index.asp
http://www.w3.org/TR/html5/
http://html5.org/ ......

Html±ê×¼Îĵµjs¼æÈÝÀý×Ó

 HtmlÊÇ·ñÊDZê×¼ÎĵµÍùÍùÓ°ÏìjsµÄÖ´ÐÐЧ¹û¡£ ±ÈÈ磺ÔÚIE6Ï document.documentElement.clientHeight Õâ¸öº¯ÊýÊÇ»ñÈ¡¿ÉÊÓ´°¿ÚÎĵµ¸ß¶È£¬Èç¹ûhtml²»ÊDZê×¼Îĵµ Ôò·µ»ØÖµÊÇÁã.¶ødocument.body.clientHeight ÄÜ·µ»ØÏàÓ¦µÄÖµ.Ïà·´Èç¹ûÊDZê×¼Îĵµ document.body.clientHeight ·µ»ØÖµÊÇ0;
ÀàËƵĻ¹ÓÐdocument.documentElemen ......

asp.netÇå³ýhtml±ê¼Ç

#region Çå³ýÎı¾Ñùʽ  Ö÷ÒªÓ¦ÓÃÓÚ´ÓÍøÂçÕ³Ìù½øÀ´µÄÎı¾
        [WebMethod]
        public static string ClearStyle(string yourStr)//Çå³ýÑùʽ
        {
      & ......

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 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ