HTML 5 <a> ±êÇ©µÄ rel ÊôÐÔ
ʵÀý
´øÓÐ rel ÊôÐÔµÄÁ´½Ó£º
<a rel="nofollow"
href="http://www.ctrip.com.cn/">Cheap Flights</a>
¶¨ÒåºÍÓ÷¨
rel ÊôÐԹ涨µ±Ç°ÎĵµÓë±»Á´½ÓÎĵµÖ®¼äµÄ¹ØÏµ¡£
½öÔÚ href ÊôÐÔ´æÔÚʱʹÓá£
HTML 4.01 Óë HTML 5 Ö®¼äµÄ²îÒì
ÒÑɾ³ýµÄÖµ£ºappendix, chapter, contents, copyright, glossary, index, section, start, subsection¡£
еÄÖµ£ºarchives, author, bookmark, external, first, index, last, license, nofollow, noreferrer, search, sidebar, tag, up¡£
Óï·¨
<a rel="value">
ÊôÐÔÖµ
Öµ | ÃèÊö |
---|---|
alternate | Á´½Óµ½ÎĵµµÄÌæ´ú°æ±¾£¨ÀýÈç´òÓ¡Ò³¡¢·Òë»ò¾µÏñ£©¡£ |
archives | Á´½Óµ½Îĵµ¼¯»òÀúÊ·Êý¾Ý¡£ |
author | Á´½Óµ½ÎĵµµÄ×÷Õß¡£ |
bookmark | ÓÃ×÷ÊéÇ©µÄÓÀ¾Ã URL¡£ |
external | Á´½Óµ½ÍⲿÎĵµ¡£ |
first | Á´½Óµ½¼¯ºÏÖеÄÊ׸öÎĵµ¡£ |
help | Á´½Óµ½°ïÖúÎĵµ¡£ |
index | Á´½Óµ½ÎĵµµÄË÷Òý¡£ |
last | Á´½Óµ½¼¯ºÏÖÐ×îºóµÄÎĵµ¡£ |
licence | Á´½Óµ½ÎĵµµÄ°æÈ¨ÐÅÏ¢¡£ |
next | ¼¯ºÏÖÐÏÂÒ»¸öÎĵµ¡£ |
nofollow |
Á´½Óµ½Î´ÈϿɵÄÎĵµ£¬±ÈÈ縶·ÑÁ´½Ó¡£ Google ʹÓà "nofollow" À´¹æ¶¨ÆäËÑË÷Ö©Öë²»¸ú×Ù¸ÃÁ´½Ó¡£ |
noreferrer | ¹æ¶¨µ±Óû§¸úËæ¸Ã³¬Á´½Óʱ£¬ä¯ÀÀÆ÷²»Ó¦·¢ËÍ HTTP referer Í·¡£ |
prev | ¼¯ºÏÖеÄǰһ¸öÎĵµ¡£ |
search | Á´½Óµ½ÎĵµµÄËÑË÷¹¤¾ß¡£ |
sidebar | Á´½Óµ½Ó¦¸ÃÔÚä¯ÀÀÆ÷±ßÀ¸ÖÐÏÔʾµÄÎĵµ¡£ |
tag | µ±Ç°Îĵµ±êÇ©£¨¹Ø¼ü´Ê£©¡£ |
up | ÌṩָÏòÒ»¸öÎĵµµÄÁ´½Ó¡£¸ÃÎĵµÌṩµ±Ç°ÎĵµµÄÉÏÏÂÎĹØÏµ¡£ |