Including links to pages outside your website is what puts the 'web' in the World Wide Web. It connects your site with other pages you find interesting. The code is similar to what we learned earlier for hyperlinks between pages, with a few modifications. Here is the code for an external link:
<a href="http://www.linked_page.com" target="_blank">Link Name</a>
The target="_blank" portion tells the browser to open this page in a new window. This is a good practice when sending someone away from your site.
Sometimes you may want to link to a particular position on a page. This requires an anchor link. The first step is to mark the location on the page to which you would like to link. Insert the following code in the appropriate position on your page:
<a name="top">
I used the name 'top', but any name will work. Try to use something that will make sense.
<a href="#top">Link Name</a>
Notice that you need to include the '#' symbol in the link code to indicate that it is an anchor link.
Anchor links are optional in your html website, but if you've got time, give it a shot!