Adding the rel="nofollow" attribute to a link tells the search engine not to track this connection and thus not to pass on authority. Careful webmasters may find that many blogs have this attribute added to their friendly links. The purpose of doing so is to avoid diluting the authority of their own websites. The rel attribute means: the relationship between the current page and the page it points to. The rev attribute specifies the relationship from the target document to the source document. Baidu currently supports the rel='noflow' attribute. Proper use of this tag will greatly improve the website. Webmasters may know that if a link is added with the attribute rel="nofollow", it means telling the search engine not to follow this link and thus not pass on the weight. Careful webmasters may find that many blogs have added this attribute to their friendly links, in order to avoid diluting the weight of their own website. What does the rel attribute mean? The rel attribute means: the relationship between the current page and the page being pointed to. The optional attributes rel and rev of the <a> tag indicate the formal relationship and direction between the source and target documents, respectively. The rel attribute specifies the relationship from the source document to the target document, while the rev attribute specifies the relationship from the target document to the source document. Both attributes can be used together in the <a> tag. XML/HTML CodeCopy content to clipboard
Multiple values of the rel or rev attribute are separated by spaces. Usage of the rel attribute Usually this attribute is used in: link tag/a tag/meta tag, writing example: XML/HTML CodeCopy content to clipboard
This rel attribute is actually designed specifically for search engines. It is known that Baidu currently supports the rel="nofollow" attribute. Proper use of this tag will greatly improve the website. The value of the rel attribute
Knowing the above rel="" attributes, when we design web pages, we only need to set the link tags according to the corresponding attributes, which will be of great help to our website optimization. The above rel attribute is for HTML format. In the era of social networking, Weibo/WeChat are rampant. Compared with HTML, the rel attribute of the a tag has the XFN specification, so I will not elaborate on it here. |
<<: In-depth study of JavaScript array deduplication problem
>>: Mysql sql slow query monitoring script code example
This article describes how to install mysql5.6 us...
Linux and Unix are multi-user operating systems, ...
Redis is an open source NoSQL database written in...
This article uses examples to illustrate the pitf...
Table of contents 1. Reduce the number of image l...
Convert code to image using html2canvas is a very...
Generate SSL Key and CSR file using OpenSSL To co...
Preface I have installed MySQL 5.6 before. Three ...
Speaking of Nestjs exception filter, we have to m...
Table of contents 1. Introduction 2. First, let...
Structured Table (IExplore Only) 1) Group by rows ...
Implementation effect: 1. count(1) and count(*) W...
First, let me show you the finished effect Main i...
This article example shares the specific code of ...
In the process of web project development, we oft...