Page 61 - TP_Play_V2.2_Class8
P. 61

<BR> <A HREF="Admissions.html"> Admissions </A>
                 <BR> <A HREF="Events.html"> Events </A>

                 <BR> <A HREF="Sports.html"> Sports </A>
                 <BR> <A HREF="Activities.html"> Activities </A>

                 <BR> <A HREF="About.html"> About Us </A>
                 <BR> <A HREF="Contact.html"> Contact Us </A>
                 </P>

                 </BODY>
                 </HTML>
                 In the preceding code, we have seen that the <A> tag has been used six times to create six hyperlinks.
                 Each hyperlink is linked to a different web page. For example, the Activities hyperlink is linked with the
                 Activities.html web page. When you click on the Activities hyperlink, the Activities.html web page will
                 open in your web browser window as shown:

























                 The code to create the Activities.html web page is as follows:

                 <!DOCTYPE HTML>

                 <HTML>
                 <HEAD>
                 <TITLE> Activities </TITLE>

                 <STYLE>
                 BODY{BACKGROUND-COLOR:#EEFFEE;}
                 HR{BACKGROUND-COLOR:RED; HEIGHT:2PX;}

                 H1{COLOR:RED;}
                 H2{COLOR:RED; TEXT-ALIGN:CENTER;TEXT-DECORATION:UNDERLINE;}
                 H3{COLOR:RED; TEXT-ALIGN:CENTER;}

                 </STYLE>
                 </HEAD>
                 <BODY>


                                                                                    #Images, Links & Frames in HTML5  59
   56   57   58   59   60   61   62   63   64   65   66