elsewhere on the Web.For hyperlink we have to use <a> tag.
Using Hyperlink we can link
1.Linking within the same document (by using the name attribute)
2.Linking one document to another (by using the href attribute)
3.linking non-text objects (Linking audio,video,image or other multimedia file)
Linking within the same document
Steps:1.Create the link where we want
<a href=#btm>Bottom</a>
2.Using the name attribute specify the place where we have to go after clicking the link.
<a name=btm>
Example:
<html>
<head>
<title>Hyperlink</title>
<a href=#btm>Bottom</a>
<a name=tp>
<p>A hyperlink (or link) is a word, group of words, or image that you can click on to
jump to a new document or a new section within the current document.</p>
<a name=btm>
<p>1.Linking within the same document (byusing the name attribute)
2.Linking one document to another (by using the href attribute)
3.linking non-text objects (Linking audio,video,image or other multimedia file)
</p>
<a href=#tp>Top</a>
<body>
Linking one document to another
Syntax:<a href="url">Link text</a>
Example:
<html>
<head>
<body>
<a href=http://www.youcanstart.blogspot.com/>Welcome to You can Start</a>
</body>
</html>
No comments:
Post a Comment