faqts : Computers : Internet : Web : HTML

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

0 of 1 people (0%) answered Yes
Recently 0 of 1 people (0%) answered Yes

Entry

How do I make a link that jumps to another part of the page - like a FAQ page?

Aug 31st, 2005 19:35
Jason Ross, Lee Marquis,


The way to do it is with the anchor tag, and the process is similar to
linking to another page. The difference is, you give the anchor a name,
and in the referring link, rather than linking to
http://someplace.com/other/page you link to #anchorname.

For example:

<a href="#section1">Jump to section 1</a>
<a href="#section2">Jump to section 2</a>

...

<a name="section1">This is section 1</a>

...

<a name="section2">This is section 2</a>