Page 79 - Touchpad_Plus_V3.2_Class 8
P. 79

Output
                 In the preceding code, the <A> tag has been used six  times  to create  six  hyperlinks. Each
                 hyperlink is related 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 appear 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>

                 <H1> ABC Public School </H1>
                 <HR>
                 ABC  Public  School  is  best  known  for  its  activities  organised  in  the
                 schoolcampus.  We  organise  different  types  of  activates  to  contribute
                 to  the  development of  health,  happiness,  physical  skills,  maturity,
                 sportsmanship,  decision-making  skills,  self-confidence,  and  self-
                 discipline of each student. The most commonly organised activities are:

                 <H2> Activities in the School </H2>


                                                                                                More on HTML         77
   74   75   76   77   78   79   80   81   82   83   84