Anybody know anything about the #links commonly used to jump on pages? How can I make my own?

3 replies
Hey everybody.

I am making a page about a large manufacturer and there is a lot of information

I think these have even been used on wikipedia before if my memory serves me right..

anyway, does anyone know how to make the links so that I can create some type of "table of contents" for the main categories of my manufacturer so that they can skip straight to the information that they are looking for on my page?
(again, it is a really long page)


Thanks guys,

Sam
##links #commonly #jump #make #pages
  • Profile picture of the author richblogs
    Look up anchor links. They work like this:

    <a href="#category1">Go to Category 1</a>

    (other stuff)

    <h1><a name="category1">Category 1</a></h1>

    (other stuff)
    {{ DiscussionBoard.errors[5480134].message }}
    • Originally Posted by richblogs View Post

      Look up anchor links. They work like this:

      <a href="#category1">Go to Category 1</a>

      (other stuff)

      <h1><a name="category1">Category 1</a></h1>

      (other stuff)
      thanks

      I plugged (anchor links <a href="#category1">) into google and found this

      Simple Question regarding semantics

      It was a pretty informative little thread too. I will edit this post if I cannot get it to work.
      Signature




      Have a Wonderful Day!

      {{ DiscussionBoard.errors[5480237].message }}
  • Profile picture of the author WillR
    If you wanted to create an anchor link called 'My Biography' you would drop the following code into your page where-ever you would like people to land in order to read your biography.

    <a name="my_biography"></a>

    You would then create a link (just as normal) pointing to this anchor and place it anywhere on the page:

    <a href="#my_biography">Click Here</a> to read my biography.
    {{ DiscussionBoard.errors[5480316].message }}

Trending Topics