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>
|<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>HTML is a markup language</title>
<h1>Example of HTML Link code.</h1>
<p>Please visit on this link</p>
<a href="http://www.roseindia.net" >HTML Example</a>
More Tutorials on roseindia.net for the topic HTML link code..
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.