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=gb2312" />
</head>
<body>
<p>Ç°Á½ÄêýÌåÆÌÌì¸ÇµØµØ±¨µÀ¶àÉÙ¶àÉÙѧÉú±ÏÒµ¾Íʧҵ¡£½ñÄê¾¼ÃΣ»ú£¬²»Éٵط½ÓÖ¿ªÊ¼³öÏÖÓù¤»Ä¡£ÎªÊ²Ã´£¬¹¤³§¹«Ë¾µ¹±ÕÁË£¬´ó¼Ò¶¼»Ø¼ÒÁË¡£</p>
<p>¿ÉÊÇÕⲿ·ÖÈ˻ؼÒ×öÁËʲôÄØ£¿ÖÖÌ»¹ÊÇÔÚ¼ÒÏçÔÙÕÒ¹¤×÷£¿¹¤×÷µÄ¸ÚλÊǼȶ¨µÄ£¬´Ó×ÜÁ¿ÉÏÀ´Ëµ£¬¾ÍÄÇô¶à¡£´óÁ¿µÄÈËÓ¿»Ø¼ÒÏ磬×ܹé»áÓкܶàÈËÕÒ²»×Ź¤×÷¡£Õⲿ·ÖÕÒ²»µ½¹¤×÷µÄÈËÓÖÔÚ¸Éʲô£¿</p>
<p>ËùÒÔÐèÒª¹¤×÷µÄÈËÊDz»È±£¬µ«ÊÇÎҸоõ£¬ÈÏÕæÕÒ¹¤×÷µÄÁÈÁÈÎÞ¼¸¡£</p>
<p>¿´¿´ÄãµÄÖÜΧ£¬ÎÒ²»ÖªµÀÄãÊÇ·ñºÍÎÒÓÐͬÑùµÄ¸Ð¾õ¡£ÏÖÔÚ¿ÐÀϵÄÈËÔ½À´Ô½¶à£¬¶øÇÒ¸öÈËÈÏΪ£¬´ó¶àÊÇ80ºóºÍ90ºó¡£ÎÒ²»ÊÇÌرðÕë¶Ôij¸öʱ´ú£¬ÎÒ×Ô¼º±¾ÉíÒ²ÊÇ80ºó¡£ÒÔÇ°¿´¹ýÒ»¸öÌû×Ó£¬ËµÕÒ²»µ½¹¤×÷µÄÈË£¬ºÜ¶àÈËÊÇ̬¶È²»¶ËÕý¡£Õâ¸öÌû×Ó±»ºÜ¶àÈËÅں䣬µ±Ê±µÄÎÒÒ²àÍÖ®ÒԱǡ£¶ÁÁËÄÇô¶àÄêÊ飬¼ÒÀïͶ×ÊÁËÕâô¶à½ÌÓý¾·Ñ£¬×ܵÃÈÏÕæÌô¸öºÃµã°É£¿</p>
</body>
</html>
ÔËÐнá¹ûÏÔʾÈçÏ£º
Ç°Á½ÄêýÌåÆÌÌì¸ÇµØµØ±¨µÀ¶àÉÙ¶àÉÙѧÉú±ÏÒµ¾Íʧҵ¡£½ñÄê¾¼ÃΣ»ú£¬²»Éٵط½ÓÖ¿ªÊ¼³öÏÖÓù¤»Ä¡£ÎªÊ²Ã´£¬¹¤³§¹«Ë¾µ¹±ÕÁË£¬´ó¼Ò¶¼»Ø¼ÒÁË¡£
¿ÉÊÇÕⲿ·ÖÈ˻ؼÒ×öÁËʲôÄØ£¿ÖÖÌ»¹ÊÇÔÚ¼ÒÏçÔÙÕÒ¹¤×÷£¿¹¤×÷µÄ¸ÚλÊǼȶ¨µÄ£¬´Ó×ÜÁ¿ÉÏÀ´Ëµ£¬¾ÍÄÇô¶à¡£´óÁ¿µÄÈËÓ¿»Ø¼ÒÏ磬×ܹé»áÓкܶàÈËÕÒ²»×Ź¤×÷¡£Õⲿ·ÖÕÒ²»µ½¹¤×÷µÄÈËÓÖÔÚ¸Éʲô£¿
ËùÒÔÐèÒª¹¤×÷µÄÈËÊDz»È±£¬µ«ÊÇÎҸоõ£¬ÈÏÕæÕÒ¹¤×÷µÄÁÈÁÈÎÞ¼¸¡£
¿´¿´ÄãµÄÖÜΧ£¬ÎÒ²»ÖªµÀÄãÊÇ·ñºÍÎÒÓÐͬÑùµÄ¸Ð¾õ¡£ÏÖÔÚ¿ÐÀϵÄÈËÔ½À´Ô½¶à£¬¶øÇÒ¸öÈËÈÏΪ£¬´ó¶àÊÇ80ºóºÍ90ºó¡£ÎÒ²»ÊÇÌرðÕë¶Ôij¸öʱ´ú£¬ÎÒ×Ô¼º±¾ÉíÒ²ÊÇ80ºó¡£ÒÔÇ°¿´¹ýÒ»¸öÌû×Ó£¬ËµÕÒ²»µ½¹¤×÷µÄÈË£¬ºÜ¶àÈËÊÇ̬¶È²»¶ËÕý¡£Õâ¸öÌû×Ó±»ºÜ¶àÈËÅں䣬µ±Ê±µÄÎÒÒ²àÍÖ®ÒԱǡ£¶ÁÁËÄÇô¶àÄêÊ飬¼ÒÀïͶ×ÊÁËÕâô¶à½ÌÓý¾·Ñ£¬×ܵÃÈÏÕæÌô¸öºÃµã°É£¿
p±êÇ©µÄ×÷ÓÃÊÇÉùÃ÷Ò»¶ÎÎı¾£¬¼´Ò»¶Ôp±êÇ©ÄÚµÄÎı¾³ÉÒ»¶Î¡£Ä¬ÈÏÇé¿öÏ£¬¶ÎÔÚÆðʼºÍ½áÊø´¦»»ÐУ¨²¢ÏÔʾ³öÒ»¿é¿Õ°××÷Ϊ·Ö¶ÎµÄ±êÖ¾£©£¬ÔÚÎı¾ÏÔʾµ½ä¯ÀÀÆ÷±ß½ç´¦×Ô¶¯ÕÛÐС£
----------
2¡¢Ëõ½ø
ÊäÈëÈçÏ´úÂë
Ïà¹ØÎĵµ£º
1 ËùÓÐµÄ .java|.jsp|.html|.xml Ô´Îļþ¾ùʹÓÃutf-8±àÂë¸ñʽ±£´æµ½ÏµÍ³´ÅÅÌ¡£
È磺ÔÚEclipseÖбà¼Îļþ£¬Ñ¡ÖÐÎļþ´ò¿ªÓÒ¼ü²Ëµ¥Ñ¡ÔñÊôÐÔ£¬½«Îı¾Îļþ±àÂëÉèÖÃΪÆäËû²¢Ñ¡ÔñUTF-8£»Ò²¿ÉÒÔÔÚ
Eclipse——Ê×Ñ¡Ïî——³£¹æ——ÄÚÈÝÀàÐÍÖÐÉèÖø÷ÖÖÎļþµÄȱʡ±àÂ룬ÕâÑùÒÔºóËùÓеÄÎı¾Îļþ¶¼Ê¹ÓÃÍ³Ò ......
HTML£¨³¬Îı¾±ê¼ÇÓïÑÔ HyperText Markup Language£©
»ù±¾¸ñʽ·¶Àý´úÂ룺
´ò¿ªÈÎÒâÒ»¸ö¿ÉÒÔ±à¼Îı¾ÎļþµÄÈí¼þ£¨ÀýÈçWindows×Ô´øµÄ“¼Çʱ¾”£©£¬ÊäÈëÈçÏ´úÂ룺
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
......
head±êÇ©ÑÝʾ´úÂ룺
×¢£º<!-- ºÍ -->Ö®¼äµÄÄÚÈÝΪ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>
<!-- ÉèÖÃÒ³ÃæÎÄ×Ö±àÂë -->
<me ......
--------------
Ò»¡¢Ö÷»ú£¨HOST£©/·þÎñÆ÷£¨Server£©
һ̨´æÔÚÓÚÍøÂçÉϵļÆËã»ú£¬Èç¹ûͨ¹ýijÖÖÍøÂçÐÒ飨ÈçTCP/IPÐÒ飩½«×ÔÉíµÄ×ÊÔ´±©Â¶¸øÍøÂçÉϵÄÆäËü»úÆ÷·ÃÎÊ£¬ÄÇôÕâЩ»úÆ÷¾Í×é³ÉÁËÖ÷»ú/¿Í»§»úģʽ»ò·þÎñÆ÷/¿Í»§»ú£¨C/S£©Ä£Ê½£¬ÕâÊÇÄ¿Ç°×î³£¼ûµÄÍøÂç·þÎñÌṩ·½Ê½¡£
IPµØÖ·
IPµØÖ·ÊÇËÄ×é10½øÖÆÊý×Ö ......
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 ......