Add The Different Types of Links features

  • Dofollow links
  • Nofollow Links

< a > links are one of the most important tags for SEO, and the majority of internal and external domain linking is achieved by using this HTML tag. An < a > link creates a hyperlink with the a href attribute stating the link’s destination, as well as the anchor text which is the text shown for the clickable link. Here is an example of an < a > link:

Example

<a href="https://www.example.com">Visit Example.com!</a>
                                     OR
[Visit Example.com!](https://www.example.com) 
// You are already add this function

The anchor text contained within the < a > tag is key for search engines to measure the relevance of the linked-from content to the destination page. When linking internally, you should use relevant and descriptive anchor texts to indicate to search engines the topic the source page is targeting.

Webmasters can use rel=”nofollow” to indicate to search engines crawlers that a particular link should not pass any equity to other pages, and should be disregarded from a discovery and equity perspective. Nofollow tags are a webmaster’s way of preventing robots from following links on a specific page or a specific links by using the code snippets

Example

<a href="https://www.example.com" rel="nofollow"" >Visit Example.com!</a>
// Add this function

In September 2019, Google announced an update to their nofollow directive and introduced two new link attributes, these are:

  • rel="sponsored" – The sponsored attribute should be used to identify links that are for advertisement purposes, where sponsorship and compensation agreements are in place.

Example

<a href="https://www.example.com" rel="sponsored" >Visit Example.com!</a>
// Add this function
  • rel="ugc" – As the attribute for User Generated Content, this value is recommended for links within user generated content sites, for example forum posts and blog comments.

Example

<a href="https://www.example.com" rel="ugc" >Visit Example.com!</a>
// Add this function

And more like - noopener and noreferrer.


Kindly add Nofollow Links features

Start a personal dev blog on your domain for free and grow your readership.

3.4K+ developers have started their personal blogs on Hashnode in the last one month.

Write in Markdown · Publish articles on custom domain · Gain readership on day zero · Automatic GitHub backup and more

No Comments Yet