+ 1

What are absolute and relative links?

16th Jul 2016, 5:02 PM
sharfuddin mohammed
sharfuddin mohammed - avatar
2 Answers
+ 3
Absolute links are those links that contain the URL beginning with the domain name of the site. The resource from this link will be loaded even when the current webpage is moved between the folder hierarchy. Links to other resources can be embedded to other websites as well. Relative links, on the other hand, are relative to the current webpage. You don't have to provide the URL with the domain name. For example, if you are referring to a stylesheet file residing on the parent folder relative to the current page, you'll mention "../myStylesheet.css" as the URL. Relative links can not be used on domains other than the current one.
16th Jul 2016, 5:42 PM
Pradeep :)
Pradeep :) - avatar
0
explain with example please
18th Jul 2016, 8:59 AM
naveen dharni
naveen dharni - avatar