+ 1
What are absolute and relative links?
2 Antworten
+ 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.
0
explain with example please