Question:

What do I have to do to get a hyperlink go to a different section of my document?

by  |  earlier

0 LIKES UnLike

I have an FAQ section and want to keep all of the questions at the top of the document and the answers at the bottom. For example: If I clicked on the first question, the "link" would bring me to that questions answer at the bottom of the page. Then I would like to have a link to bring me "back to top". How do I accomplish this?

 Tags:

   Report

2 ANSWERS


  1. You need to use a named anchor. At the point you want to jump to put this HTML tag:

    <a name="jumphere" />

    Then to jump to it create a hyperlink like this:

    <a href="#jumphere">Link</a>

    Clicking this link will jump to the named anchor called jumphere


  2. Use "anchors"...

    <a href = " #a1 " >question 1</a>

    <a href = " #a2 " >question 2</a>

    <a name = " a1 " >answer 1</a> this is answer 1

    <a name = " a2 " >answer 2</a> this is answer 2

    (remove spaces)

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions