A link is specified using HTML tag <a>. The href attribute used to specifies the destination address (Ex.//www.studentstutorial.com) of the link.
<a href="url">link text</a>
The tags used to produce links are the <a> and </a>.
<!DOCTYPE html>
<html>
<head>
<title>Hyperlink Example</title>
</head>
<body>
<a href="//www.studentstutorial.com">Visit our HTML tutorial</a>
</body>
</html>
The <a> tag tells where the link should start and the </a> indicates where the link ends.Everything between these two will work as a link.
The target attribute can have one of the following values:
<!DOCTYPE html>
<html>
<head>
<title>Hyperlink Example</title>
</head>
<body>
<p>Click following link</p>
<a href="//www.studentstutorial.com" target=“ _blank ">Students Tutorial</a>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
perlink Example</title>
</head>
<body>
<p>Click following link</p>
<a href="//www.studentstutorial.com" target=“ _self ">Students Tutorial</a>
</body>
</html>