Links to Other Sites
Links that include the “http/https
” as part of the entire URL are known as absolute URLs.</p>
<a href="https://example.com" target="_blank">Link to Example.com</a>
Notice in the above link that it includes “https
”. The “https
” is required to signify to the browser that this is an ‘external’ link outside the current document’s directory/server. You must include either “http
” or “https
”.
The former is an older, established, version of the “hypertext transfer protocol”, which specifies data transfer between clients. The latter is a “secure” version of this protocol. Whenever possible, you should provide “https
” links (check that they work first), as it allows for a safer browsing experience.
html
- Previous
- Next