Page 103 - CodePilot V5.0 C7
P. 103

</BODY>

                 </HTML>

                 ADDING IMAGES AS LINKS

                 You  can use an image  as  a  hyperlink  by  simply  adding  the  <IMG> tag  between  the  <A> and
                 </A> tags.

                    Code     Write the HTML code to present the given web page using the <IMG> tag between the
                      9      <A> and </A> tags to add images as links.


                 <!DOCTYPE HTML>

                 <HTML>

                 <HEAD>
                 <TITLE> Image Hyperlink </TITLE>

                 </HEAD>

                 <BODY>

                 <A HREF="new.html">
                 <IMG SRC="Click_here.jpg"

                 STYLE="WIDTH:100PX; HEIGHT:500PX;">

                 </A>
                 </BODY>

                 </HTML>

                                                                                            21 st   #Creativity
                      INTERDISCIPLINARY LEARNING                                           Century   #Technology Literacy
                                                                                           Skills
                   Create a web page about various Indian Classical dance forms. Follow the instructions below:

                   (a)  Use this heading for the web page: “Indian Classical Dance Forms”.

                   (b)  Search the Internet for images of Indian classical dance forms.
                   (c)  Use the <IMG> tag to embed images.                               music and dance










                            The BORDER property is shorthand
                            for BORDER-WIDTH, BORDER-STYLE,                  The default BORDER-RADIUS is 0,
                                BORDER-COLOR properties.                     resulting in sharp, square corners.






                                                                                                                  101
                                                                                           Making Web Pages Alive
   98   99   100   101   102   103   104   105   106   107   108