[Help] Anchor Tags

Status
Not open for further replies.

Lame

Member
Nov 6, 2014
303
78
Wondering how I can use Anchor Tags To Jump To Specific Location on the same page
Any help is greatly appreciated.
 

Brad

Well-Known Member
Jun 5, 2012
2,320
993
I think it's just this not 100% sure though.
Code:
<a href="#nameoftag">CLICK ME</a>

<a name="#nameoftag" id="nameoftag">blahblahblah</a>
 

RastaLulz

fight teh power
Staff member
May 3, 2010
3,934
3,933
@Westyy was close, but a bit off (you don't need a name).

If you want to jump to a specific location on the page, you simply target the id of the element that you want to go to by defining it in your anchor tags href and putting a # in the front.

Example:
 

Lame

Member
Nov 6, 2014
303
78
@Westyy was close, but a bit off (you don't need a name).

If you want to jump to a specific location on the page, you simply target the id of the element that you want to go to by defining it in your anchor tags href and putting a # in the front.

Example:
Yeah, I figured it out, mate. Could you remove the thread for me?
 
Status
Not open for further replies.

Users who are viewing this thread

Top