Tuesday 8 September 2015

HTML Links


  • Links on webpages allow users to click from one page to another
  • Link pages together 
  • HTML links are called Hyperlinks 
  • A Hyperlink is a text or an image that you can click on that will take you to a different page. 
  • In HTML, links are defined by the <a> tag 
      <a href="url">This is a link</a>
  • The 'href' attribute specifies the link address/location 
  • Attributes are used to provide additional information about the element 
  • The link text is the only visible part of the link
  • This can be text or an image, or any other HTML element 
     When you hover over a link, two things will usually happen:
  • The cursor will change to a small hand
  • The colour of the link element will change 
     By default links will appear as:
  • Unvisited - Underline & Blue
  • Visited - Underline & Purple
  • Active - Underline & Red

No comments:

Post a Comment