Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

HTML question

  1. Jul 9, 2003 #1
    I am making a webpage and I need to have a bunch of links at the top of a really long page. The links take you to a certain location in the page. I've seen this done before, does anyone know how I can do this?
  2. jcsd
  3. Jul 9, 2003 #2
    Use anchors.


    <a href="yourpage#section1">Section 1</a>

    Then down your page put:
    <a name="section1">
  4. Jul 9, 2003 #3
    Thanks, Greg, that does just what I wanted.
  5. Jul 9, 2003 #4
    If you ever need to know anything else with html, just find a simple page that does what you want and view the source.
    That's why I got my .html skills from!
  6. Jul 9, 2003 #5
    Me Too.
  7. Jul 10, 2003 #6


    User Avatar

    Staff: Mentor

    Ditto. The best way to get skills is to steal them.
  8. Jul 10, 2003 #7
    i think you should atleast take a crahs course in html so you can weed out things
  9. Jul 10, 2003 #8


    User Avatar

    what software are you using? is it publisher, word, PP, etc...

    but if your just want code then gregs correct.

    <a href="yourpage#section1">Section 1</a>
  10. Jul 11, 2003 #9
    I don't think so.
    You just need to be flexible a little bit, and just 'expect' what it is, then test (and fail), and test again (and fail again), then you would have learned it right (well, if u have time that is).
    I learnt VB, ASP, HTML in those way, and now i only use NotePad to write all my HTML.
  11. Jul 11, 2003 #10
    Notepad will help you learn the general concepts of different programming languages and more trust me ;)

    Trial and error is infalible but still READ THE MANUAL it will save many years.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook