×

Html & Html5

The World's best Software Development Study Portal

HTML Anchor tag


It just defines ahyperlink between the existing page to any other page. It can create the hyperlink to other web page as well as files, location or any URL. Here the "href" tag is used to define the destination path.

Example:

<p> Hey click on <a href="http://ittrainingclasses.in/"> Home </a>

click on home to get into the home page of IT training classes.in </p>




Output:


Hey click on Home click on home to get into the home page of IT training classes.in

We can see through anchor tag we gave hyperlink to Home word.