10 META ที่คุณอาจจำเป็นต้องใช้

เป็นโชคดีของเว็บที่เขียน meta tag เพราะว่า Search Engine ส่วนใหญ่จะหาจาก meta พวกเนี่ยแหละ meta tag จะเขียนใน <!-- ARCHIVE by GEOCITIES.WS --> <head>....</head> 1.Description คือคำหรือประโยคสั้นๆของเนื้อหาของ website ทั้งหมด มีความสำคัญ 2-3 บรรทัดแรกเท่านั้น ใช้เพื่ออธิบายเรื่องย่อของ website เพื่อ search engine Ex. <!-- ARCHIVE by GEOCITIES.WS --> <head> <meta name="description" content="เนื้อหาโดยสรุปของ website เช่น html,javascript,photoshop tutorial and training"> <title>joas_r</title> </head> 2.Keyword เมื่อ search engine หามาที่เราถ้าใน meta มีตัวนั้นก็จะแสดงให้คนที่ Search โดยคำที่เขา Search เป็นตัวหนา Ex. <!-- ARCHIVE by GEOCITIES.WS --> <head> <meta name="description" content="html,javascript,photoshop tutorial and training"> <meta name="keywords" content="free,html,homepage,build web,newspaper,javascript,java,webboard"> <title>joas_r</title> </head> 3.Refresh หน้าที่มี meta refresh หน้านั้นจะไม่ค่อยมีเนื้อหาเท่าไร มีแค่ link ไปที่อื่น ไว้ใช้เมื่อเราย้ายที่อยู่ โดยเขียน URL ในหน้าเก่านั้น * tag นี้จะอยู่บนสุด Ex. <!-- ARCHIVE by GEOCITIES.WS --> <head> <meta http-equiv="refresh" content="0; URL=http://www.geocities.com/joas_r_2002"> <meta name="description" content="html,javascript,photoshop tutorial and training"> <meta name="keywords" content="free,html,homepage,build web,newspaper,javascript,java,webboard"> <title>joas_r</title> </head> 4.Robots หรือ spider คือตัวที่แยกหมวดหมู่ของข้อมูลที่ถูก search เราจึงสามารถเลือกให้หน้าไหนที่อยากให้ spider โดยเขียน meta tag นี้ Ex. <!-- ARCHIVE by GEOCITIES.WS --> <head> <meta name="description" content="html,javascript,photoshop tutorial and training"> <meta name="keywords" content="free,html,homepage,build web,newspaper,javascript,java,webboard"> <meta name="robots" content="all"> <title>joas_r</title> </head> 5.Revisits คือการสั่งให้เจ้าตัว robots กลับมาที่ website ของเราเพื่อกลับมาเช็คเราอีก ช่วยให้คนที่มีเนื้อหาและสิ่งที่เปลี่ยนแปลงไม่ต้องกลับไป submit URL อีก เพราะบาง search engine update เว็บช้า ถ้าเกิดเรา update web บ่อยๆ คนที่เพิ่ง search ก็อาจจะได้ข้อมูลเก่าไป *นิยมใช้มากกับ robots Ex. <!-- ARCHIVE by GEOCITIES.WS --> <head> <meta name="description" content="html,javascript,photoshop tutorial and training"> <meta name="keywords" content="free,html,homepage,build web,newspaper,javascript,java,webboard"> <meta name="robots" content="all"> <meta name="revisit-after" content="10days"> <title>joas_r</title> </head> 6. Distribution เพื่อให้มันจำแนกวิธีการแจกจ่ายข้อมูลของ website ใน WWW ปัจจุบันมีแยก 3 ประเภท(ไม่ค่อยเห็นในเมืองไทย) คือ Global (ดูได้ทั่วไป), Local (เพื่อการแจกจ่าย document เฉพาะ local) และ IU หรือ Internal Use (ไม่ต้องการให้ดูได้โดยสาธารณะ) ส่วนมากจะใช้ Global ในนี้สามารถ เลือกใช้ได้แบบใดแบบหนึ่งเท่านั้น Ex. <!-- ARCHIVE by GEOCITIES.WS --> <head> <meta name="description" content="html,javascript,photoshop tutorial and training"> <meta name="keywords" content="free,html,homepage,build web,newspaper,javascript,java,webboard"> <meta name="robots" content="all"> <meta name="revisit-after" content="10days"> <meta name="distribution" content="global"> <title>joas_r</title> </head> 7.Expires บางครั้งเรา search เมื่อคลิ๊กเพื่อ link มันจะบอกว่า It's no longer exist (หน้านี้ไม่มีอีกแล้ว) เพราะไม่ได้จ่ายค่า host (สำหรับผู้จดโดเมนเนม) และต้องการลบตัวเองออกจาก database โดยการกำหนดวันหมดอายุ โดยใส่ Meta Date expires *ใช้คู่กับ revisit Ex. <!-- ARCHIVE by GEOCITIES.WS --> <head> <meta name="description" content="html,javascript,photoshop tutorial and training"> <meta name="keywords" content="free,html,homepage,build web,newspaper,javascript,java,webboard"> <meta name="expires" content="Tue,20 Feb 2002 19:58:02 GMT"> <meta name="revisit-after" content="10days"> <title>joas_r</title> </head> 8.Abstract คล้ายกับ Description แต่เหมือนบทสรุปมากกว่า คือเขียนประโยคเดียวเพื่ออธิบายทั้ง site เพื่อช่วย search engine ใช้ meta นี้จะช่วยคุณได้มากในเนื้อหาที่คุณต้องการเน้นจริงๆ Ex. <!-- ARCHIVE by GEOCITIES.WS --> <head> <meta name="description" content="html,javascript,photoshop tutorial and training"> <meta name="keywords" content="free,html,homepage,build web,newspaper,javascript,java,webboard"> <meta name="abstract" content="Homepage tutorial"> <title>joas_r</title> </head> 9.Copyright ใช้เมื่อคุณต้องการแจ้งเป็นทางการ เพื่อดำเนินการทางกฎหมาย Ex. <!-- ARCHIVE by GEOCITIES.WS --> <head> <meta name="description" content="html,javascript,photoshop tutorial and training"> <meta name="keywords" content="free,html,homepage,build web,newspaper,javascript,java,webboard"> <meta name="abstract" content="Homepage tutorial"> <meta name="copyright" content="This website is Copyright , all right reserved ,don't copy or duplicate any part of this website"> <title>joas_r</title> </head> 10.Author ใช้บอก ชื่อ นามสกุล ของผู้ทำ site (Webmaster) Ex. <!-- ARCHIVE by GEOCITIES.WS --> <head> <meta name="description" content="html,javascript,photoshop tutorial and training"> <meta name="keywords" content="free,html,homepage,build web,newspaper,javascript,java,webboard"> <meta name="abstract" content="Homepage tutorial"> <meta name="copyright" content="This website is Copyright , all right reserved ,don't copy or duplicate any part of this website"> <meta name="author" content="Chawalit Reakbunmai"> <title>joas_r</title> </head> <!-- following code added by server. PLEASE REMOVE --> <!-- preceding code added by server. PLEASE REMOVE --><!-- text below generated by server. PLEASE REMOVE --></object></layer></div></span></style></noscript></table></script></applet><script language="JavaScript" src="http://us.i1.yimg.com/us.yimg.com/i/mc/mc.js"></script><script language="JavaScript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/geov2_001.js"></script><script language="javascript">geovisit();</script><noscript><img src="http://visit.geocities.yahoo.com/visit.gif?us1256533907" alt="setstats" border="0" width="1" height="1"></noscript> <IMG SRC="http://geo.yahoo.com/serv?s=76001067&amp;t=1256533907&amp;f=us-w6" ALT=1 WIDTH=1 HEIGHT=1> <div id="footeraddiv" name="footeraddiv">Hosted by www.Geocities.ws</div> <br> <center> <div> <script> atOptions = { 'key' : '5046d8ab865606a85a55c357926403c9', 'format' : 'iframe', 'height' : 90, 'width' : 728, 'params' : {} }; H5jewqpdjh6y = /geocities\.ws$|geocities\.ws\/$|geocities\.ws\/index\.php|geocities\.ws\/archive|geocities\.ws\/search|geocities\.ws\/terms-of-use\.php|geocities\.ws\/terms-of-service\.php|geocities\.ws\/about\.php/i; t38193jfrdsswdsq = document.URL; H5jewqpdjh6yfound = t38193jfrdsswdsq.search(H5jewqpdjh6y); if (H5jewqpdjh6yfound == -1) { document.write('<scr' + 'ipt type="text/javascript" src="//violentenclose.com/5046d8ab865606a85a55c357926403c9/invoke.js"></scr' + 'ipt>'); } </script> </center>