Tuesday 20 December 2016

What is Relative Link?

Relative Link
A link which shows the relation of the current URL to the URL of the page being linked at. Some links only show relative link paths instead of having the entire reference URL within the a href tag. Due to canonicalization and hijacking related issues it is typically preferred to use absolute links over relative links.
Example relative link
<a href="../folder/filename.html">Cool Stuff</a>
Example absolute link
<a href="http://seobook.com/folder/filename.html">Cool Stuff</a>

No comments:

Post a Comment