This page illustrates four types of links discussed in class, described in the table below, including the local or relative link, global or absolute link, email link, and anchor link.

The anchor link goes to an ID somewhere on the page. The anchor link at the top goes to the arrow at the bottom, which in turn links to the banner at the top of the page.

If you add target="_blank" to the anchor tag, the link will open in a new tab so that readers do not lose your site.

User feedback in the form of darker color was added to the links using the :hover pseudoclass, so that readers know when they are in the proper location to click.

Types of Links
LinkDefinitionFormat
Local or Relative LinkLink on your servera href="filename.html"
Global or Absolute LinkLink to another sitea href="http://www.unlv.edu"
Email linkLink to send emaila href="mailto:info@unlv.edu"
Anchor LinkLink to an ID on the pagea href="#top-of-page"
Add target="_blank" to open the link in new tab.