HTML Links
(If this article you will learn to give HTML Links in your Webpage)
HTML provides a facility that can links to other HTML documents as well as images in a entire Website or other Website. By Clicking on that text or an image will redirect an entire web page or an image. The text or an image in one web page will open an entire web page or an image. The text or an image that provides such linkages is called Hyperlink.
The browser distinguishes Hyperlinks from normal text. Every Hyperlink,
- Appears blue in color
- The hyperlink text/image is underlined
- When the mouse cursor is placed over it, the standard arrow shaped mouse cursor changes to the shape of a hand.
Links are created in a web page by using the <A> /A> tags.Anything written between the <A> </A> tags becomes a hyperlink. By clicking on the hyperlink navigation to a different web pages or image takes place. By using the HREF arrtibute of the <A> tag the next navigable web page or image can be specified.
Syntax:-
<A HREF="anyFile.html">
Example of an Basic HTML Link Program
First HTML Link Code:-
<HTML>
<HEAD>
<TITLE>HTML Links</TITLE>
</HEAD>
<BODY>
<A HREF="https://www.google.com> Visit Google by Clicking here"
</BODY>
</HTML>