It is also called hyper link. HTML provides a tag called anchor, which is used for transferring control from one page to another page. It is a pair tag. It has both start and end tag. The href is a attributes of anchor tag. The holds the URL of that page or site, on which we wants to visit.
<a href="index.jsp" >Link Code</a>
Code :
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>HTML is a markup language</title> </head> <body> <h1>Example of HTML Link code.</h1> <p>Please visit on this link</p> <a href="http://www.roseindia.net" >HTML Example</a> </body> </html> |

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.