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

ÄãÕæµÄÖªµÀÒ»¸öHTML¼°×ÊÔ´ÊÇÈçºÎloadµÄÂð?

 
ÄãÕæµÄÖªµÀÒ»¸öHTML¼°×ÊÔ´ÊÇÈçºÎloadµÄÂð(Á˽â¸÷¸ö²¿·ÖÊǺÎʱÏÂÔغÍÖ´ÐеÄ)
Ô­ÎĵØÖ·£ºhttp://www.cnblogs.com/mindsbook/archive/2009/12/03/sequence_of_response.html
±¾²©¿ÍËùÓÐÄÚÈݲÉÓàCreative Commons Licenses Ðí¿ÉʹÓÃ. ÒýÓñ¾ÄÚÈÝʱ£¬Çë±£Áô ÖìÌÎ, ³ö´¦ £¬²¢ÇÒ ·ÇÉÌÒµ .
µã»÷ ¶©ÔÄ À´¶©Ôı¾²©¿Í.(ÍƼöʹÓàgoogle reader, Èç¹ûÄãµÄä¯ÀÀÆ÷²»Ö§³ÖÖ±½Ó¶©ÔÄ,ÇëÖ±½ÓÔÚ google reader ÖÐÊÖ¶¯Ìí¼Ó).
µã»÷ ÏÂÔØpdfÔĶÁ (Èç¹ûä¯ÀÀÆ÷²»Ö§³ÖÖ±½Ó´ò¿ª,Çëµã»÷ÓÒ¼üÁí´æ)
ÕªÒª
±¾ÎÄÖ÷Òª½éÉÜä¯ÀÀÆ÷ÇëÇóÒ»¸öURIºó, ÏàÓ¦µÄhtml¼°Æä°üº¬µÄÍⲿ×ÊÔ´(Èçjs/css/image/flash)µÄÏÂÔØ˳Ðò¼°ÆäÖ´ÐÐ˳Ðò.
ÔÚÎÄÖлáÓÐÒ»¸ö¾ßÌåµÄÀý×ÓÀ´ËµÃ÷.
Contents
ÕªÒª
ÒýÈë
¾ßÌå·ÖÎö
ÇëÇó·ÖÎö
¶ÔFirefoxºÍchromeµÄÇëÇó·ÖÎö
Firefox
chrome
ÓÐÒâ˼µÄÒ»¸ö²åÇú
½áÂÛ
ºó¼Ç
²Î¿¼×ÊÁÏ
±¾ÎĵÄÔ´Âë
ÒýÈë
Íê³ÉÁËÈô¸É¸ö»ùÓÚWEBµÄÏîÄ¿, Ò²Á˽âÁË´ÓÇ°¶ËµÄjs,css,htmlµ½ºó¶Ëpython/phpµÈ, ¶þÕßÈçºÎ½»»¥, ×îÖÕä¯ÀÀÆ÷ÈçºÎÖ´ÐÐ, ÕâЩÔÚÐÄÀïÒ²ÒѾ­ºÜÃ÷È·ÁË. ²»¹ýÒ»¸öÎÊÌâÒ»Ö±ÝÓÈÆÔÚÐÄÖÐ,ÄǾÍÊÇ:
Ò»¸öhtmlÓÐÈô¸É¸öÍⲿ×ÊÔ´(js,css,flash,imageµÈ),ÕâЩÇëÇóÊǺÎʱÏÂÔصÄ,ÓÖÊǺÎʱִÐеÄ?
²»Çå³þ,²»Ã÷°×, ËùÒÔÒ²¾Í²»ÖªµÀÎÒдµÄjs¾¿¾¹ºÎʱִÐеÄ, Ò²¾Í²»ÖªµÀΪʲôºÜ¶à¸ßÐÔÄܵĽ¨ÒéÊÇÒª½«jsÖÃÓÚÒ»¸ö htmlµ×¶ËµÄ</body>֮ǰ.
Èç¹ûÄãÒ²²»ÊǺÜÃ÷È·,ÇëÀ´ºÍÎÒÒ»Æðѧϰ°É.
¾ßÌå·ÖÎö
Ê×ÏÈÎÒÃÇÀ´¿´Ò»¸öʾÀýµÄhtmlÒ³Ãæ,ÈçÏÂ:
<html>
<head>
<script src="/static/jquery.js" type="text/javascript"></script>
<script src="/static/abc.js" type="text/javascript">
</script>
<link rel="stylesheets" type="text/css" href="/static/abc.css"></link>
<script>
$(document).ready(function(){
$("#img").attr("src", "/static/kkk.png");
});
</script>
</head>
<body>
<div>
<img id="img" src="/static/abc.jpg" style="width:400px;height:300px;"/>
<script src="/static/kkk.js" type="text/javascript"></script>
</body>
</html>
ËüÓÐÈçϼ¸ÖÖ×ÊÔ´:
3¸öÍⲿjsÎļþ,1¸öinline js´úÂë
1¸öÍ


Ïà¹ØÎĵµ£º

htmlµÄһЩ±ê×¼cssÑùʽ

ÔÚhtmlÖУ¬¼´Ê¹ÎÒÃÇûÓÐÖ¸¶¨Ò³ÃæÔªËØÏÔʾµÄcssÑùʽ£¬ÔªËØÒ²»á°´ÕÕĬÈϵĵıê×¼cssÑùʽȥÏÔʾ¡£Òò´ËÕÆÎÕ»ù±¾µÄhtml±êÇ©¿ÉÒÔÔÚÒ»¶¨³Ì¶ÈÉϾ«¼òÄãµÄcss´úÂ룬ÏÖ½«html±êÇ©µÄĬÈÏÊôÐÔ½øÐÐÒ»¶¨µÄ»ã×ÜÈçÏ£º
li              { display: list-item } 
h ......

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

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

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

HTML¶ÔÆëÊôÐÔ


ʹÓà VAlign ÊôÐÔÖ¸¶¨ÓÉ HtmlTableCell ÀàµÄʵÀýËù±íʾµÄµ¥Ôª¸ñÄÚÈݵĴ¹Ö±¶ÔÆ뷽ʽ
“VALIGN"Òâ˼ -- vertical alignment ´¹Ïò¶ÔÆë·½·¨ 
ÆäÖµ¿ÉÒÔÊÇtop -- ¶¥²¿£»»òmiddle -- Öв¿£»»òbottom-- µ×²¿£»»òbaseline -- »ùÏß¡£Ä¬ÈÏÖв¿--middle¡£
¶ÔÆ룬¾ÍÊDZí¸ñ£¨Cell)ÄڵĶ«Î÷£¨ÔªËØ°üÀ¨Í¼ÐΣ©ÅŵÃÕûÆë»®Ò»£¬V ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ