links to other areas within a webpage |
links to other areas within a webpage |
Jan 10 2009, 08:00 PM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 86 Joined: Jul 2005 Member No: 179,570 |
I am wondering what the exact codes are for making a link that leads to a particular area of the same webpage. For example, they're often seen on FAQ's or at the bottom of lengthy pages.
|
|
|
|
![]() |
Jan 10 2009, 10:27 PM
Post
#2
|
|
![]() /人◕‿‿◕人\ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,283 Joined: Dec 2007 Member No: 602,927 |
First one is used more often.
|
|
|
|
Jan 11 2009, 03:01 PM
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrator Posts: 2,648 Joined: Apr 2008 Member No: 639,265 |
First one is used more often. It is, however, falling into disuse; the "id" attribute is more common as it can be used with anchors, CSS, and JavaScript, and doesn't require the use of an <a> tag to be thrown into the markup. It's probably better to use the "id" method nowadays. |
|
|
|
nishikigoi links to other areas within a webpage Jan 10 2009, 08:00 PM
IWontRapeYou CODE<a href="#TITLE">TITLE</a... Jan 10 2009, 08:25 PM
Fawaz I think that the author above made a mistake you s... Jan 10 2009, 10:23 PM
nishikigoi QUOTE(mipadi @ Jan 11 2009, 12:01 PM) It ... Jan 17 2009, 12:40 AM
Fawaz Oo. My bad then.. I never seen it. sorry. Jan 10 2009, 10:29 PM
nishikigoi Thankies. I had been wondering if I could use tag ... Jan 11 2009, 02:08 PM
JosephCohen123 Also when linking on a site make sure to use http:... Jan 13 2009, 10:31 PM
mipadi You can use "id" and "class" t... Jan 17 2009, 01:06 AM![]() ![]() |