Page 67 - TP_Prime_V2.2_Class8
P. 67

Now, when any section heading at the top of the web page is clicked, you will be taken to
                 the respective explanation section. Let us take an example of internal linking. The "Flowers.
                 html" web page contains four hyperlinks, which are linked to the different sections of the
                 same web page in which they appear.























                                                                                                                          65  MORE ON HTML


                 Code to create the Flower.html web page is as follows:


                 <!DOCTYPE html>
                 <HTML>
                 <HEAD>

                 <TITLE> Internal Linking </TITLE>

                 <STYLE>
                 BODY{BACKGROUND-COLOR:LIGHTYELLOW; COLOR:RED;}
                 H1{COLOR:RED; TEXT-ALIGN:CENTER;}

                 IMG{HEIGHT:200px; WIDTH:200px;}
                 P{FONT-FAMILY:EBRIMA; FONT-SIZE:20px;}

                 SPAN{
                 POSITION:RELATIVE;

                 ANIMATION: IMAGE 3S INFINITE ALTERNATE-REVERSE;
                 }

                 @KEYFRAMES IMAGE{
                 FROM{LEFT:1%;}

                 TO{LEFT:45%;}
                 }

                 </STYLE>
                 </HEAD>
   62   63   64   65   66   67   68   69   70   71   72