Monday, October 4, 2010

HTML - Links

Hyperlink is used to create links within the same document and also to documents present
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

Send your Design, Code or any other Creations to qualitypointmail@gmail.com for showing them here. You can mention your contact details(email id, phone) also

If you are an Expert, you can give review comments or feedback to show your skills

This blog will help you to get more opportunities as this blog will be linked to our other blogs and sites which attract more visitors.

A Good Beginning Is Half Done

Start Freelancing