As we navigate through the world wide web, we often click on links that take us to different websites. These links are created using HTML codes and are called hyperlinks or simply, links. Link attributes refer to the HTML codes that help us define certain characteristics of a link.
Link attributes are HTML codes that allow us to define certain characteristics of a link such as whether it allows search engines to follow the link or not, what text should be used as the link, and more.
A dofollow
attribute is a type of link attribute that tells search engine bots to follow the link and pass on any "link juice" to the linked page.
On the other hand, a nofollow
attribute is a type of link attribute that tells search engine bots not to follow the link or pass on any "link juice" to the linked page.
An anchor text
refers to the words that are used as the clickable part of a hyperlink. It helps users understand where they will be directed to when they click on the link.
To use nofollow
attribute in a hyperlink, simply add rel="nofollow"
in the HTML code for the hyperlink.
Using nofollow
attributes in hyperlinks can prevent your website from being penalized by search engines for linking to spammy or low-quality websites.
Link juice
refers to the value or authority passed from one website to another through hyperlinks. This value can help a website rank higher on search engines.