Need a little help with html links

Not sure what's it called XD

Page 1 of 1

5 Replies - 602 Views - Last Post: 14 June 2010 - 06:59 AM

#1 devonator  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 77
  • Joined: 06-September 08

Need a little help with html links

Posted 12 June 2010 - 03:47 AM

I haven't been using html for a while, I need a little help.
Not sure what it's called, sometimes when you click on a link.
It'll lead you to a website, but it doen't just load; when it finish loading it automatically scroll to a specific keybword.

An example would be:
http://en.wikipedia....g%29#Operations

Anyone got any ideas on how to do this?

Is This A Good Question/Topic? 0
  • +

Replies To: Need a little help with html links

#2 biggles2008  Icon User is offline

  • Bassface
  • member icon

Reputation: 9
  • View blog
  • Posts: 623
  • Joined: 05-March 08

Re: Need a little help with html links

Posted 12 June 2010 - 04:48 AM

They're called HTML anchor points : http://www.w3schools.../html_links.asp
Was This Post Helpful? 2
  • +
  • -

#3 Penty  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 8
  • Joined: 11-June 10

Re: Need a little help with html links

Posted 12 June 2010 - 04:52 AM

You mean something like this

<a href="index.html#somediv">Scroll to somediv</a>
<div id="somediv">Some info</div>


http://www.w3schools.../html_links.asp

Edit: too late :P

This post has been edited by Penty: 12 June 2010 - 04:53 AM

Was This Post Helpful? 1
  • +
  • -

#4 devonator  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 77
  • Joined: 06-September 08

Re: Need a little help with html links

Posted 12 June 2010 - 09:57 AM

thanks alot! very helpful ^^

This post has been edited by devonator: 12 June 2010 - 09:57 AM

Was This Post Helpful? 0
  • +
  • -

#5 nightscream  Icon User is offline

  • D.I.C Head

Reputation: 19
  • View blog
  • Posts: 237
  • Joined: 04-December 08

Re: Need a little help with html links

Posted 12 June 2010 - 12:10 PM

You can use an id like stated before or the a tag
<a href="#" name="stuff"></a>


it's the same as above but with name in the a tag.
Was This Post Helpful? 1
  • +
  • -

#6 Quin  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 18
  • View blog
  • Posts: 381
  • Joined: 16-October 08

Re: Need a little help with html links

Posted 14 June 2010 - 06:59 AM

View Postnightscream, on 12 June 2010 - 11:10 AM, said:

You can use an id like stated before or the a tag
<a href="#" name="stuff"></a>


it's the same as above but with name in the a tag.

dont need href - that makes it click-able and moveable
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1