Page 78 - TP_Play_V2.1_class8
P. 78

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

                  <!DOCTYPE HTML>
                  <HTML>

                  <HEAD>
                  <TITLE> Home Page </TITLE>

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

                  H3{COLOR:RED; TEXT-ALIGN:CENTER;}
                  P{FONT-SIZE:20PX;}

                  </STYLE>
                  </HEAD>
                  <BODY>

                  <H1> ABC Public School </H1>
                  <HR>

                  <H3> Welcome to ABC Public School </H3>
                  <P>

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


                   76       Play (Ver. 2.1)-VIII
   73   74   75   76   77   78   79   80   81   82   83