I want to link to something further down one of my pages.
For example:
When you click on a link it jumps to a paragraph further down the page.
How would i do this?
| SitePoint Sponsor |
Code:<a href="#identifier">CLICK HERE...</a>Code:<a name="identifier">...TO JUMP HERE</a>![]()


Actually, you'll want to use the ID attribute instead of the NAME attribute.
Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns

Stephen J Chapman
javascriptexample.net, Book Reviews, follow me on Twitter
HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
<input name="html5" type="text" required pattern="^$">
Good call to make that point, Dan. The old A NAME bit will work in current browsers, but it's either been officially deprecated or unofficially sent to purgatory (don't remember which and too lazy to look it up). A lot of HTML/design help sites tell visitors to use the old method. Keep striking a blow for current standards, dude!![]()
Bookmarks