linking text within a page of text

  Boy Zone 22:06 04 Feb 2008
Locked

I'm creating a web site and have one page which is full of text.
I want to have something on the top of this page so I can select certain headlines within the same page of text.
How do I do this, I'm using dreamweaver and very new to web design.
I have seen it done but have no idea how to do it.
Regards

  gibbs1984 23:11 04 Feb 2008

Not sure how to do it in Dreamweaver the code is:

This goes at the top of the page and by clicking on these links will take you to the relevant section at the bottom of the page.

<a href="#football">This is football</a>
<a href="#rugby">This is rugby</a>
<a href="#snooker">This is snooker</a>

These are the relevant sections at the bottom of the page.

<a name="football">You will jump to here (football)</a>
<a name="rugby">You will jump to here (rugby)</a>
<a name="snooker">You will jump to here (snooker)</a>

  Kemistri 23:15 04 Feb 2008

Those are called anchors.

  gibbs1984 23:24 04 Feb 2008

Yeah, is that not what he wanted or have I misread his question? It's been a long day he he

  Kemistri 23:25 04 Feb 2008

Sounds right to me. We'll find out if it isn't what he had in mind.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

What is ransomware and how do I protect my PC from Petya?

Microsoft Surface Studio – the artist's hands-on review

Original iPhone review

Comment mettre à jour Kodi ?