Page 72 - TrackpadV2.1_Class8
P. 72

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


                                              _____________________________________________________________


                  Write 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>




















                  Write HTML code to create a hyperlink on an image.

                  <!DOCTYPE HTML>
                  <HTML>
                  <HEAD>

                  <TITLE> Creating Hyperlink to an Image </TITLE>
                  </HEAD>
                  <BODY>




                   70   Trackpad (V2.1)-VII
   67   68   69   70   71   72   73   74   75   76   77