+ 2
I read an info message during the completion of 'links' concepts that "links can be absolute or relative", what does it mean?
Sorry if you found my grammar or vocab terrible.
1 Odpowiedź
+ 4
Could it have meant link path? if so then ...
● A link with absolute path consists of complete location of the resource, including the protocol, domain, down to subdirectories, and eventually the resource.
Example:
https://www.google.com/search
A complete path, with protocol, domain and subdirectory "search"
● A relative path is a path that also points to the resource, the difference is, rather than using a complete path (with protocol, domain etc.) relative path uses the current resource's location as the base location.
Example:
<img src="images/bg.png">
Points to an image "bg.png" in a subdirectory "images" in current location (document location)
More about this including examples you can find here:
https://www.w3schools.com/html/html_filepaths.asp