An absolute URL is a full web address:
A relative URL is a local link, which has been placed on the same website. Relative URLs do not require the "http://www." part of the address.
HTML file: | Displayed by browser: |
---|---|
<h3>This is an example of a relative url.</h3> <p>My <a href="boo.html" target="_blank"> ghost webpage</a> has been placed in the same directory as <b><i>this</i></b> webpage.</p> |
This is an example of a relative url.My ghost webpage has been placed in the same directory as this webpage. |