PDA

View Full Version : How to create links to sections on the same page in HTML.



cecilio
02-23-2011, 10:33 PM
Hello Friends.........

To create links you need to use two HTML tags

<A HREF="#top">Top</a>

<A NAME="top">

The first tag <A HREF="#top">Top</a> is different in that it has a # which represents a name statement. When the user clicks on Top, the computer would then go to the name tag, if found.

The second tag <A NAME="top"> is where the first tag will reference when clicked.

Thanks