Page 81 - Touchpad_Plus_V3.2_Class 8
P. 81
This ID attribute uniquely identifies the section. When the user clicks the section heading at the
top, the page will scroll to this 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.
Flower Guide Web page
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>
<BODY>
<H1> Flower Guide</H1>
More on HTML 79

