In-depth analysis of rel attributes and noflow importance in seo

Source: Internet
Author: User
Tags prev

What does rel attribute mean?
The rel attribute refers to the relationship between the current page and the page.

<A> the optional properties of the label, rel and rev, respectively indicate the formal relationship and direction between the source document and the target document. The rel attribute specifies the relationship between the source document and the target document, while the rev attribute specifies the relationship from the Target document to the source document. These two attributes can be used in the <a> label at the same time.

The code is as follows: Copy code
1. <a href = "xxx. php? Page = 2 "rel =" next "rev =" prev "> <>

Multiple values of the rel or rev attribute are separated by spaces.

Rel attribute usage
This attribute is usually used in: link tag/a tag/meta tag. Example:

The code is as follows: Copy code
1. <a href = 'http: // www.111cn.net 'rel = 'friend'> Old blog </a>

This rel attribute is actually designed specifically for seo/seo.html "target =" _ blank "> Search Engines. It is known that Baidu currently supports: rel = 'noflow' attribute, the rational use of this tag will greatly improve the website.

Rel attribute value

Value Description
Alternate Optional document versions (such as print pages, translation pages, or images ).
Stylesheet The external style table of the document.
Start The first document in the set.
Next The next document in the set.
Prev The previous document in the collection.
Contents Document directory.
Index Document index.
Glossary Glossary or interpretation of words used in the document.
Copyright A document that contains copyright information.
Chapter The chapter of the document.
Section Document section.
Subsection The child section of the document.
Appendix Document appendix.
Help Help documentation.
Bookmark Related documents.
   
Nofollow Google uses "nofollow" to specify that Google search engines do not track links.
Licence  
Tag  
Friend  

 

After learning about the above rel = "" These attributes, we only need to set the connection tag according to the corresponding attributes when designing the webpage, which will be of great help to our website optimization.

The above rel attributes are in html format. In the social network era, Weibo http://www.111cn.net/wechat is rampant. Compared with html, the rel attribute of a tag has the XFN specification.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.