December 11, 2018 · coding html

HTML Links and Anchor Tags

The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL. This is a closed tag.
The href (attribute) contains a URL or a URL fragment that the hyperlink points to.

<p><em><strong> <a  href="">Cat  Extraordinaire­čÉł</a></strong></em></p>   
<h3>My Hobbies</h3>
    <li><a href="">Cooking</a></li>
      <li><a href="">Cleaning</a></li>
   <li> <a href="">Gaming</a></li>
     <li> <a href="">Patting my cats</a></li>

To redirect a link to another page on your site, use the following code

<a href="hobbies.html">My Hobbies</a>
<a href="contact-me.html">Contact Me!</a>

You need to make sure you have created a new file within the folder that your currently working on so that they link together -

<!DOCTYPE html>
        <meta charset="utf-8">
<title>Contact Me!</title>
<img src="Images\dog.jpg" alt="Hello this is dog">
  • LinkedIn
  • Tumblr
  • Reddit
  • Google+
  • Pinterest
  • Pocket