Page 66 - Trackpad_V1_Book 7_Flipbook
P. 66
HYPERLINK IN HTML5
A website is a collection of webpages that are interlinked with each other and contains related
information. These webpages are linked with the help of a feature of HTML called a hyperlink. A
hyperlink is generally an underlined text that when clicked will take you to another webpage.
Generally, hyperlinks are seen in blue colour. HTML allows us to create two types of linking which are:
Interlinking (Local): The process of linking a particular section of the same webpage is called
interlinking. In this case, the hyperlink and the linked section appear on the same webpage.
Hence, interlinking is also known as internal linking.
Intralinking (Global): The process of linking a webpage to another webpage of the same
website or another website is called intralinking. It is also known as external linking.
CREATING LINKS
To create a link, we use the <A> tag (A stands for anchor), thus it is called an anchor tag or a link
tag. An anchor tag is a container tag used with the HREF attribute (which stands for Hypertext
Reference) to specify the destination of the link.
Syntax to create a hyperlink:
<A HREF = “destination URL”> Link Text </A>
Links can be text or images. When a user hovers the mouse pointer over a link, the pointer takes
the shape of a pointing hand, indicating the presence of an active link. Clicking on a hyperlink
takes us to a webpage that contains more information about it. The address of the webpage is
specified in the HREF attribute.
1. What is the use of ALT attribute?
_____________________________________________________________
uiz Bee 2. What is the difference between a local link and a global link?
_____________________________________________________________
64 Trackpad (Version 1.0)-VII

