Hyperlinks

  • A hyperlink references or links to other resources, such as HTML documents and images
  • Web browsers typically underline text hyperlinks and color them blue by default
  • Users can insert links withthe a(anchor) element.
  • The href attribute specifies the resource (e.g., page, file, e-mail address) being linked
  • target = _blank

  • Opens the link in a new tab

  • mailto:

  • Anchors can link to an e-mail address using a mailto:URL
  • When a user clicks this type of anchored link, most browsers launch the default e-mail program (e.g., Outlook Express) to initiate an e-mail message addressed to the linked address