jumping to a section in another page through link?

They have: 140 posts

Joined: Nov 2003

How do you make a link so that it jumps to
a section within another page... and not just
the top of the other page?

I want to send people to a paragraph that is
near the bottom of another page.

Thanks in advance

He has: 153 posts

Joined: Nov 2004

The name attribute is used to create a named anchor. When using named anchors we can create links that can jump directly into a specific section on a page, instead of letting the user scroll around to find what he/she is looking for.

Below is the syntax of a named anchor:

Text to be displayed

The name attribute is used to create a named anchor. The name of the anchor can be any text you care to use.

The line below defines a named anchor:

Useful Tips Section

You should notice that a named anchor is not displayed in a special way.

To link directly to the "tips" section, add a # sign and the name of the anchor to the end of a URL, like this:


Jump to the Useful Tips Section

A hyperlink to the Useful Tips Section from WITHIN the file "html_links.asp" will look like this:

Jump to the Useful Tips Section

They have: 140 posts

Joined: Nov 2003

Thank you.

He has: 153 posts

Joined: Nov 2004

no problem, did it help?

They have: 140 posts

Joined: Nov 2003

Yep. Just what I needed. Thanks.

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

Just for your reference, you can also not put text in the bookmark:

Example:

<a name="tips"></a>
'

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.