0
Welcome Guest! Login
0 items Join Now

Link to a certain part of a page

    • rayzon's Avatar
    • rayzon
    • Rocketeer
    • Posts: 63
    • Thanks: 0

    Link to a certain part of a page

    Posted 17 years 9 months ago
    • I have dug around on the net for the html i need to do the following:

      1. Cars
      2. Boats
      3. Trees
      4. Dogs


      1. Cars have four wheels and move on land.

      2. Boats are made for the water

      3. Trees grow, blah, blah

      4. Dogs love to climb trees in boats.


      Anyway, as is often seen in FAQ sections, when a user selects item #1, they are taken directly to that item on the page. If they choose item #4, they are taken directly to #4 and do not have to scroll.

      Can someone please help me identify what it is I need to do to accomplish this.

      Thanks!!
  • Re: Link to a certain part of a page

    Posted 17 years 9 months ago
    • They are called 'anchors'. Do a Google on 'html anchors' and you should find exactly what you need.

      Mike
    • rayzon's Avatar
    • rayzon
    • Rocketeer
    • Posts: 63
    • Thanks: 0

    Re: Link to a certain part of a page

    Posted 17 years 9 months ago
    • Awesome buddy. I knew there had to be a term. Thanks for the help.
    • Bob Ateah's Avatar
    • Bob Ateah
    • Elite Rocketeer
    • Posts: 4521
    • Thanks: 0

    Re: Link to a certain part of a page

    Posted 17 years 9 months ago
    • Maybe this will help:
      1. <a href="#cars">Cars</a><br>
      2. <a href="#boats">Boats</a><br>
      3. <a href="#trees">Trees</a><br>
      4. <a href="#dogs">Dogs</a> 
      <p>---------------------------</p>
      <p><a name="cars"></a>1. Cars have four wheels and move on land.</p>
      <p><a name="boats"></a>2. Boats are made for the water</p>
      <p><a name="trees"></a>3. Trees grow, blah, blah</p>
      <p><a name="dogs"></a>4. Dogs love to climb trees in boats.</p>
    • The member formerly known as Roland Deschain
      After your question is solved, please Edit your original post and choose the Solved message icon, thank you!
    • rayzon's Avatar
    • rayzon
    • Rocketeer
    • Posts: 63
    • Thanks: 0

    Re: Link to a certain part of a page

    Posted 17 years 9 months ago
    • Top notch dude. Thanks.

Time to create page: 0.061 seconds