+ 1


What does it mean for links to be either absolute or relative?

30th Mar 2018, 1:36 PM
Chidera - avatar
1 Answer
+ 2
Absolute link means when you link to a different website. Suppose my domain is http://mydomain.com. If I create a link to another website : http://yourdomain.com/path as <a href = "http://yourdomain.com"> Link to another website </a>, it is called absolute link / absolute url Relative link means linking to another location( page) within the same site. For the page which is on the same folder as current file we can simply hyperlink using the name of file. For other directories, we use relative paths <a href = "mypage.php"> mypage </a>
30th Mar 2018, 1:54 PM
Bishal Sarang
Bishal Sarang - avatar