Navigation Links with Anchor Tags

In HTML, links are found in nearly all web pages. Links allow users to click their way from page to page. HTML links are hyperlinks, and by the links we can click on a link and jump to another document. When we move the mouse over a link, the mouse arrow will turn into a little hand. And also note that a link does not have to be text, it can be an image or any other HTML element. The basic syntax of link is as follows :
<a href="url">Link Text</a>
At the above we use anchor tags. Anchor tags ( <a></a> ) are used to create an 'anchor' for any element on the page that you want to link to another page, either on the same server or externally. At the above href attribute specifies the destination address of the link. Example :
<!DOCTYPE html>
<html>
   <body>
     <a href="http://www.mycsnotes.com">Click Here</a>
   </body>
</html>


Next Topic :