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?
Need a little help with html linksNot sure what's it called XD
Page 1 of 1
5 Replies - 526 Views - Last Post: 14 June 2010 - 06:59 AM
Replies To: Need a little help with html links
#2
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
#3
Re: Need a little help with html links
Posted 12 June 2010 - 04:52 AM
You mean something like this
http://www.w3schools.../html_links.asp
Edit: too late
<a href="index.html#somediv">Scroll to somediv</a> <div id="somediv">Some info</div>
http://www.w3schools.../html_links.asp
Edit: too late
This post has been edited by Penty: 12 June 2010 - 04:53 AM
#4
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
#5
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
it's the same as above but with name in the a tag.
<a href="#" name="stuff"></a>
it's the same as above but with name in the a tag.
#6
Re: Need a little help with html links
Posted 14 June 2010 - 06:59 AM
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote







|