Creating Page Links to Navigate a Long Page

  • Thread starter Thread starter grady
  • Start date Start date
  • Tags Tags
    Links
AI Thread Summary
To create navigational links on a long webpage, use HTML anchors. The basic format involves using an anchor link at the top, such as <a href="yourpage#section1">Section 1</a>, and then placing an anchor tag at the target location on the page, like <a name="section1">. This method allows users to jump to specific sections easily. Participants in the discussion emphasize the importance of learning HTML through practical experience and suggest viewing the source code of simple pages for skill development. While some recommend taking a crash course in HTML, others advocate for a hands-on approach, highlighting trial and error as an effective learning strategy. Notepad is mentioned as a useful tool for writing HTML due to its simplicity.
grady
Messages
65
Reaction score
2
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?
 
Computer science news on Phys.org
Use anchors.

example:

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

Then down your page put:
<a name="section1">
 
Thanks, Greg, that does just what I wanted.
 
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!
 
Originally posted by Dave
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!

Me Too.
 
Originally posted by Pauly Man
Me Too.
Ditto. The best way to get skills is to steal them.
 
i think you should atleast take a crahs course in html so you can weed out things
 
Originally posted by grady
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?

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>
 
Originally posted by The Grimmus
i think you should atleast take a crahs course in html so you can weed out things
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 learned VB, ASP, HTML in those way, and now i only use NotePad to write all my HTML.
 
  • #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.
 
Back
Top