Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 48 - 2615_KEC
P. 48

    ntralinking (Global): The process of linking a web page to another web page of the same
                        I
                        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?

                                                  _____________________________________________________________

                      An HTML code to create a text hyperlink on a web page:

                      <!DOCTYPE HTML>
                      <HTML>

                      <HEAD>

                      <TITLE> Creating Hyperlink </TITLE>
                      </HEAD>

                      <BODY>
                      <H1 STYLE = "text-align:center">Valley of Flowers </H1>

                      <IMG Style = "Border:4px Solid Black; Height:200px; Width:250px;"

                      src = "D:\Valley_of_Flower.jpg" >
                      <br>

                      <A HREF = "https://uttarakhandtourism.gov.in/destination/valley-of-
                      flowers">

                      Click here to visit official website </A>

                      </BODY>
                      </HTML>

                       46   Premium Edition-VII

| 43 44 45 46 47 48 49 50 51 52 53 |