HTML links are defined with the <a> tag:
<a href="http://www.xyz.com">This is a link</a>
Sample 01
<html>
<head>
<title>Sharp
Land </title>
</head>
<body>
<h1>Sharp
Land – Software Training Division</h1>
<p>Developing Softwares,
websites and providing training to Software field Students of engineering and
arts college in effective manner and producing a strong young generation IT
Peoples to industry.
</p>
<a href="http://www.sharpland.net/
" target=" _blank" >
Click here to know more
</a>
</body>
</html>
Check Output
Using an Image as a Link
To use an image as a link,
simply nest the <img> tag inside the <a> tag:
<a href="default.asp">
<img src="logo.gif" alt="Sharp Lad" style="width:42px;height:42px;">
</a>
<img src="logo.gif" alt="Sharp Lad" style="width:42px;height:42px;">
</a>
No comments:
Post a Comment