Links

  • Links created using the <a> tag

  • link tags use the href attribute (remember attributes come with a name and a value)

  • The value of the href attribute is the location where the link will direct you after it has been clicked

<!DOCTYPE html>
<html>
  <head>
    <!-- contains information about the page -->
    <title>My page</title>
  </head>

  <body>
    <a href="https://www.cnn.com"> CNN </a>
    <a href="/about_us.html">About Us</a>
  </body>
</html>

original left fit