Page 73 - TrackpadV5.1_class7
P. 73

HYPERLINK IN HTML

                 A website is a collection of web pages that are interlinked with each other and contain related
                 information. These web pages 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 web page.

                 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 web page is called
                   interlinking. In this case, the hyperlink and the linked section appear on the same web page.
                   Hence, interlinking is also known as internal linking.

                   I
                   ntralinking (Global): The process of linking a web page to another web page 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 web page that contains more information about it. The address of the web page is
                 specified in the HREF attribute.




                                          1.  What is the use of the ALT attribute?
                                             _____________________________________________________________
                         uiz   Bee        2.  What is the difference between a local link and a global link?

                                             _____________________________________________________________





                                                                                   Images, Links and Forms in HTML5  71
   68   69   70   71   72   73   74   75   76   77   78