|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Jun 2006
Location: Los Angeles
Posts: 165
|
HTML Code to go to paragraph on page
I'm looking for the html code to go to a specific paragraph on a page.
So that if you click on the hyperlink, you immediately scroll down to that part of the page. Little help please |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Jan 2005
Location: United Kingdom
Posts: 7,990
|
It's called an anchor tag.
Clicking on this: Code:
<a href="#description">Click here</a> Code:
<a name="description"></a> |
|
|
|
|
|
#3 | |
|
Confirmed User
Join Date: Jul 2002
Location: Magrathea
Posts: 6,493
|
Quote:
Then, <A href="#name">. SpaceAce |
|
|
|
|
|
|
#4 | |
|
Confirmed User
Join Date: Apr 2006
Posts: 1,610
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jul 2006
Posts: 43
|
well you know, we have thesame problem
|
|
|
|
|
|
#6 |
|
Registered User
Join Date: Jul 2006
Posts: 43
|
but i did consult some people here, ill keep you posted once im done through it
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Jul 2006
Posts: 43
|
an anchor tag will do, but there seems to be a faster way
|
|
|
|
|
|
#8 |
|
Confirmed User
Join Date: Jun 2006
Location: Los Angeles
Posts: 165
|
Thnx you guys, all of great help !
|
|
|
|
|
|
#9 |
|
Confirmed User
Join Date: May 2001
Posts: 2,944
|
You don't need to use a separate "a name" tag these days (although that still works fine). You can simply use
Code:
<p id="anyname"> Code:
<a href="#anyname">link text</a> |
|
|
|