To create a link to a particular section of a web page, before we have to give names to the places or locations to be addressed it by putting tags <a name="location"> </ a> on line that will link it. Only then we can make the link to
that section. In this case there are two possibilities.
- If the destination is contained within the same page with the link then simply write the name of the field. For example: href = # locations.
- If the destination is located on another page it must be written the name of the file from that page just name the place. For example: href = "other.htm # location".
Scheme code HTML programs like this.
<HTML>
<BODY>
statement
...............................................
...............................................
..............................................
<A HREF="#goal">Links origin</A>
statement
..............................................
..............................................
..............................................
<A NAME="goal">Goal position </A>
statement
.............................................
............................................
............................................
</BODY>
</HTML>