Links

  • HTML links are hyperlinks 
  • You can click on a link and jump to another document.
  • When you move the mouse over a link, the cursor will turn into a little hand.

tag

  • The HTML <a> tag defines a hyperlink. It has the following syntax:

Link Colors

By default (unless styles have been set), links will appear as follows in all browsers:

  • An unvisited link is underlined and blue
  • A visited link is underlined and purple

Types of links

Absolute links (other websites)

  • an absolute URL has a full web address in the href attribute including "http://www"

relative link (in your folder/website)

  • A local link (a link to a page within the same website/folder) is specified with a relative URL (without the "https://www" part):
<a href="pride.html">Pride and Prejudice</a>

You can read more about links at the w3schools here>> HTML Links


w3schools (working from home)?

If you're working from home using w3schools, you'll need to go to this page of instructions. You'll be making internal links on your page, instead of splitting your info into "home" + 4 more pages, one for each topic.