ÍøÕ¾ÓÅ»¯³£ÓõÄHTML±êÇ©
ÍøÕ¾ÓÅ»¯
³£ÓõÄHTML±êÇ©:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<body>
<h1>H1±êÇ©£¬¶¨ÒåÎÄÕ±êÌ⣬һ¸öÒ³ÃæÖ»ÒªÒ»¸ö</h1>
<h2>H2±êÇ©£¬¶¨ÒåÎÄÕ±êÌ⣬һ¸öÒ³ÃæÖ»ÒªÒ»¸ö</h2>
<h3>H3±êÇ©£¬¶¨ÒåÎÄÕ±êÌ⣬ֻҪҪһ¸ö£¬»ò¶¼²»Òª</h3>
<b>b±êÇ©£¬¶¨Òå±¾ÐÐÎÄ×Ö¼Ó´Ö</b>
<p>p±êÇ©£¬¶¨ÒåÒ»¸ö¶ÎÂä</p>
<p>Èç¹ûÒ»¸ö¶ÎÂäÌ«³¤ÁË£¬Ôõô»»ÐÐÄØ£¿<br/>ÓÃbr±êÇ©¡£±¾ÐÐÖ®ËùÒÔ»»µ½µÚ¶þÐУ¬ÊÇÒòΪ
Ç°ÃæÓÃÁËÒ»¸öbr±êÇ©</p>
<p>hr±êÇ©£¬¶¨ÒåÒ»¸öˮƽÏߣ¬ÈçÏ£º</p>
<hr><!--ÕâÊÇÒ»¸öˮƽÏß-->
</body>
</html> Äã¿ÉÒÔ°ÑÒÔÉÏÔ´´úÂ븴ÖƵ½¼Çʱ¾ÀȻºó°Ñ¼Çʱ¾µÄÎļþÃûÐÞ¸ÄΪ*.html£¬È»
ºó´ò¿ª¾Í¿ÉÒÔ¿´µ½Êµ¼ÊµÄЧ¹ûÁË¡£
1¡¢H1-H6±êÇ©¿ÉÒÔÈÃÎÄ×Ö±äºÚ£¬µ«²»ÒªÎªÁ˱äºÚ¶øÓÃHϵÁбêÇ©£¬±äºÚ¼Ó´ÖÇëÓÃ<b>
2¡¢HϵÁбêÇ©£¬²»¿É¶àÓã¬Ò»¸öÒ³Ãæ2-3¸ö¼´¿É¡£
3¡¢¼ÓºÚ±êÇ©ÍùÍùÓÃÔڹؼü×ÖÓÅ»¯
ÉÏ£¬Ò»¸öÒ³ÃæÖ»Òª¼ÓÒ»´Î¾Í¿ÉÒÔÁË¡£
ʲôÊÇÄÚÁ´,ÍøÕ¾ÄÚÁ´ÊÇʲô£¿
ÄÚÁ´ÓÅ»¯Ê®´óÔÔò
Google,°Ù¶ÈSitemapÌá½»¼¼ÇÉ
ʲôÊǹؼü×ֶѻý£¿
°Ù¶ÈÏà¹Ø¹Ø¼ü´Ê·ÖÎö¼¼ÇÉ
ʲôÊÇCMS,CMSÊÇʲôÒâ˼£¿
ʲôÊÇSitemap£¿
ʲôÊÇRobots.txtÎļþ
°Ù¶ÈÖ¸Êý_°Ù¶È¹Ø¼ü´ÊËÑË÷Á¿²éѯ
ÈçºÎ×öÍøÕ¾¹Ø¼ü´Ê·ÖÎö£¿
Ïà¹ØÎĵµ£º
½ñÌìÈÏÕæ¿´ÁËЩHtml´úÂ룬¾õµÃhtml±êǩʵÔÚÌ«¶à£¬ÓÚÊǵ½°Ù¶ÈËÑÁ˸öhtml±êÇ©´óÈ«£¬ÔÚÕâ·¢±íÏ£¬·½±ãÒÔºó²éÔÄ
±êÇ©´óÈ«£º
£¼html£¾
£¼head£¾
£¼title£¾±êÌ⣼title£¾
£¼/head£¾
£¼body£¾..........ÎļþÄÚÈÝ..........
£¼/body£¾
£¼/html£¾
1.Îļþ±êÌâ
£¼title£¾..........£¼/title£¾
2.Îļþ¸üÐÂ--£¼meta£¾
¡¾1¡¿1 ......
×ÖÌå(FONT)±ê¼Ç(TAGS)
±êÌâ×ÖÌå(Header)
<h#> ... </h#> #=1, 2, 3, 4, 5, 6
<h1>½ñÌìÌìÆøÕæºÃ£¡</h1> ½ñÌìÌìÆøÕæºÃ£¡
<h2>½ñÌìÌìÆøÕæºÃ£¡</h2> ½ñÌìÌìÆøÕæºÃ£¡
<h3>½ñÌìÌìÆøÕæºÃ£¡</h3> ½ñÌìÌìÆøÕæºÃ£¡
<h4>½ñÌìÌìÆøÕæºÃ£¡</h4> ½ñÌìÌìÆøÕæºÃ£¡
&l ......
ÓÐʱÐèÒª·¢ËÍHTML¸ñʽµÄÓʼþ£¬±ãÓÚÉèÖÃÄÚÈݵÄÑùʽ£¬µ«ÉèÖÃÁËContentType = "text/html"ºóÈç¹ûÓи½¼þ¶Ô·½»áÊÕµ½ÂÒÂ룬½â¾ö·½·¨ÈçÏ£º
ɾ³ý³£¹æд·¨¡¡
MyMail.ContentType = "text/html";
MyMail.Body = ÄÚÈÝ;
¸Ä³ÉÏÂÃæÕâÁ½ÐоͿÉÒÔhtml´úÂëºÍ¸½¼þͬʱ·¢ËÍ
MyMail.Body = ÄÚÈÝ;
MyMail.H ......
±ÈÈçappletÎļþÊÇAppletTest.class
1£©
ÔÚAppletTest.javaµÄ´úÂëÖÐ
ʹÓÃĬÈÏ°ü£¬¼´²»ÓÃpackageÓï¾ä
ÔÚhtmlÒ³ÖеĴúÂëÊÇ
<applet code="AppletTest.class" width="400" height="300">
</applet>
AppletTest.classÎļþºÍhtmlÒ³·ÅÔÚÒ»¸öÎļþ¼ÐÖÐ
2)
ÔÚAppletTest.javaµÄ´ú ......
Ô´ÎÄ£ºhttp://www.pconline.com.cn/pcedu/sj/wz/html/0401/293106.html
metaÊÇÓÃÀ´ÔÚHTMLÎĵµÖÐÄ£ÄâHTTPÐÒéµÄÏìӦͷ±¨ÎÄ¡£meta ±êÇ©ÓÃÓÚÍøÒ³µÄ<head>Óë</head>ÖУ¬meta ±êÇ©µÄÓô¦ºÜ¶à¡£meta µÄÊôÐÔÓÐÁ½ÖÖ£ºnameºÍhttp-equiv¡£nameÊôÐÔÖ÷ÒªÓÃÓÚÃèÊöÍøÒ³£¬¶ÔÓ¦ÓÚcontent£¨ÍøÒ³ÄÚÈÝ£©£¬ÒÔ±ãÓÚËÑË÷ÒýÇæ»úÆ÷È˲éÕ ......