A link is a connection of one page to another pages.the concept of link has been one of the primary driving force behind the success of the web. the world wide web would not exist if there ware no links. links allow you to jump from one page to another or in the same page itself or from one website to another by clicking on the link text or image.
When you are surfing the internet you click on some text or image which takes you to another webpage. these links in your document are called as hyperlinks. Hyperlink is text which is highlighted or an image which stores the address of the other webpage. hyperlinking in HTML is done with the help of anchor tag.
Linking Web Pages Using The Anchor Tag
The letter "a" in the Start or On tag is followed by the HREF attribute. to create a hyperlink to anchor webpage, you need to specify the path or URL after HREF. the address is case sensitive. A link has two ends called anhors and direction. the link starts at the "source" anchor and points to the "destination" anchor, which may be any Web resources e.g., an image , a video clip, a sound bite, a program, an HTML document or an element within an HTML document.
Syntax:
When you are surfing the internet you click on some text or image which takes you to another webpage. these links in your document are called as hyperlinks. Hyperlink is text which is highlighted or an image which stores the address of the other webpage. hyperlinking in HTML is done with the help of anchor tag.
Linking Web Pages Using The Anchor Tag
The letter "a" in the Start or On tag is followed by the HREF attribute. to create a hyperlink to anchor webpage, you need to specify the path or URL after HREF. the address is case sensitive. A link has two ends called anhors and direction. the link starts at the "source" anchor and points to the "destination" anchor, which may be any Web resources e.g., an image , a video clip, a sound bite, a program, an HTML document or an element within an HTML document.
Syntax:
<a HREF="URL"> HYPERLINK TEXT </a>
<a---Start/On tag
HREF----Attribute of Anchor tag
"URL"------URL of Destination file
HYPERLINK TEXT----link text to be clicked
</a>------OFF tag
Here:
a: a stands for Anchor, which means link.
HREF: Means Hypertext REFerence
For Example:
<html>
<head>
<title>Linking webpages in HTML</title>
</head>
<body bgcolor="aqua">
<a href="wwww.google.com">Google Search Engine</a>
<head>
<title>Linking webpages in HTML</title>
</head>
<body bgcolor="aqua">
<a href="wwww.google.com">Google Search Engine</a>
<br>
<a href="C:\Users\BPS\Desktop\images.jpg"> Tree</a>
</body>
</html>
Browser View of Above Document:-
When click on Google Search Engine tab then
When click on Tree tab Then Browser is
thus you have seen in the above example how we can create hyperlinks within the same directory or website and also to another website.
Web Designing is the ever green technology in the current IT world. Thanks a lot to a admin who have shared such an interesting news about the web designing. Your way of expressing points was awesome. As you said it is one of the technologies which have more scope in future.
ReplyDeleteRegards:
web designing course in Chennai | web designing training
Subscription boxes are a type of boxes which are delivered to the regular customers in order to build goodwill of the brand. They are also a part of the product distribution strategy. As a woman, you should subscribe to these boxes to bless yourself with a new and astonishing box of happiness each month. visit mysubscriptionsboxes
ReplyDeleteGreat post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information on web design you have Keep up the good work you are doing well. Web Designing Course Training in Chennai | Web Designing Course Training in annanagar | Web Designing Course Training in omr | Web Designing Course Training in porur | Web Designing Course Training in tambaram | Web Designing Course Training in velachery
ReplyDelete