• More specifically, I am wondering if on a page (and not the main HOME page), you can have a couple of options at the top and click on one that will take you to that section of the the page

    ex. Taurus
    Leo
    Aries

    If you click on Leo, it will take you to the Leo section of that same page, which will be between the info for Taurus and Aries.

    I am attempting to put a lot of information on one page and this would be the best option if it is possible.

    Thank You!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Something like:

    <ul>
    <li><a href="#taurus">Taurus</a></li>
    <li><a href="#leo">Leo</a></li>
    </ul>
    
    [...]
    
    <h3 id="taurus">Taurus</h3>
    
    <h3 id="leo">Leo</h3>

    should work. Note that the # and the id= names must match exactly.

    Thread Starter moonfathom

    (@moonfathom)

    Thanks, Esmi!

    What if you wanted to do the same thing, but link to a specific section of a different page?

    Just add the anchor after the page.

    index.html#section_to_link_to

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Within a page, can you link to another part of that same page?’ is closed to new replies.