Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Jump to a location in HTML document

Status
Not open for further replies.

swaroop

Programmer
Feb 4, 2001
100
US
Hi All,

I have developed a long HTML document and I have to provide easy navigation. When I click on the topic "listed at the top of the page" the cursor has to jump to the location where the topic is. Please let me know a way to develop it.

Thanks in advance.

Regards,
 
This is a snippet using for creating FAQ pages..
Code:
<html>
<head>
<title>Frequently Asked Questions</title>
</head>
<body>

<h3><a name="top">Table of Contents</a></h3>

<ol>
<li><a href="#quiz1">Question #1</a></li>
<li><a href="#quiz2">Question #2</a></li>
<li><a href="#quiz3">Question #3</a></li>
</ol>

<h3>Answers</h3>

<ol>

<li>
<b><a name="quiz1">Question #1</a></b><br><br>
Answer #1
[<a href="#top">Back to the top</a>]
<br>&nbsp;</li>

<li>
<b><a name="quiz2">Question #2</a></b><br><br>
Answer #2
[<a href="#top">Back to the top</a>]
<br>&nbsp;</li>

<li>
<b><a name="quiz3">Question #3</a></b><br><br>
Answer #3
[<a href="#top">Back to the top</a>]
<br>&nbsp;</li>

</ol>

</body>
</html>
Hope this helps

Zameer Abdulla
Jack of Visual Basic Programming, Master in Dining & Sleeping
Visit Me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top