|
Okay. I've had many people ask me how in the heck do I
get a link to go to something on the same page. It is called a bookmark,
anchor, or page anchor. Anyways, this is what you do if you
want to make one. I'm gonna take you through the html and then give you an
example. Html code starting now!:
<a name=Hello>Welcome</a>
No more Html. This is what you do to make a book mark.
So cool. You just created a bookmark by the name of 'Hello'. I assigned my
bookmark to the word 'Welcome' since it is in between the bookmark tags.
The </a> says the bookmark is ending after the word 'Welcome'. So great,
you made a bookmark for a word, but what do you do now? You assign
it to something that you want to be the link to the bookmark. We are gonna
use a text link. So this is what you do to make a line of text become a
link to the bookmark. Html code starting NOW!:
<a href="#Hello">Click here</a>
Neat, but what does it all mean? If you know any html at
all, you know that the <a href> tag means you are going to make something
link to something else. The '#Hello' thingy after the <a href=> is
declaring what bookmark the link is going to. If you just type <a
href="Hello"> then it won't work. All links going to bookmarks need a '#'
sign before the bookmark name in the hyperlink tag. The words between <a
href="#Hello"> & </a> (a.k.a. 'Click here') is what will appear for a
person to click on to go to the bookmark. You can place the these tags in
any way (i.e. so the link will take you to back up to the top, or so it
will take you to the bottom). So here is what it could look like.
PREVIEW |