Page 129 - iPlus_Ver_2.0_class_7
P. 129
Rangoli Making <BR>
English Conversation <BR>
Painting <BR>
</H3>
</CENTER>
<A HREF="Home.html"> Back </A>
</BODY>
</HTML>
In internal linking, the hyperlink points to a specific section within the same document or web
page. This is helpful, especially when a long web page is divided into various sections and a list
of all section headings is displayed at the top of the web page. When you click on a section
heading, you will reach the related section explanation, which is located down somewhere on the
web page. This can be done using the <A> tag as:
At the top, where section headings are to be shown, write
<A HREF=#act> Section heading </A>
Here, #act is the name or label given to the explanation section. This command tells the browser
that the hyperlink refers to the name #act. When the section heading is clicked, it will move to
the explanation section where the name or label #act is written.
Where a section explanation has to be shown, write
<A NAME=#act> About the section heading </A>
Now, when any section heading at the top
of the web page is clicked, you will reach the
respective explanation section. Let us take an
example of internal linking. The Flowers.html
web page contains four hyperlinks, that are
linked to the different sections of the same
web page on which they appear.
The code to create the Flower.html web page
is as follows:
<HTML>
<HEAD>
<TITLE> Internal Linking </TITLE>
</HEAD>
<BODY BGCOLOR="lightyellow" TEXT="red">
<CENTER> <H1> Flower Guide</H1> </CENTER>
<MARQUEE> <IMG SRC="Rose.jpg" HEIGHT="200" WIDTH="200">
<IMG SRC="Lotus.jpg" HEIGHT="200" WIDTH="200">
<IMG SRC="Lily.jpg" HEIGHT="200" WIDTH="200">
127
More on HTML

