HTML question

  • Thread starter grady
  • Start date
70
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?
 
17,535
7,134
Use anchors.

example:

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

Then down your page put:
<a name="section1">
 
70
2
Thanks, Greg, that does just what I wanted.
 
73
0
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!
 
126
0
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.
 

russ_watters

Mentor
18,839
5,030
Originally posted by Pauly Man
Me Too.
Ditto. The best way to get skills is to steal them.
 
199
0
i think you should atleast take a crahs course in html so you can weed out things
 

Dx

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>
 
333
1
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 learnt VB, ASP, HTML in those way, and now i only use NotePad to write all my HTML.
 
221
2
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.
 

Related Threads for: HTML question

  • Posted
Replies
6
Views
2K
Replies
54
Views
3K
  • Posted
Replies
5
Views
3K
  • Posted
Replies
5
Views
3K
  • Posted
Replies
2
Views
1K
  • Posted
Replies
3
Views
2K
  • Posted
Replies
4
Views
2K
  • Posted
Replies
4
Views
2K

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top