Linking to specific spots in other documents.

Question about linking to specific spots in other html documents.

Page 1 of 1

3 Replies - 933 Views - Last Post: 05 March 2010 - 11:59 AM

#1 Ludwig the Mad   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 29
  • Joined: 21-April 09

Linking to specific spots in other documents.

Posted 04 March 2010 - 05:56 AM

If I understand this correctly by using the following code you can link to specific spots with in a html document:
<a href="#namedlink">Link</a>
<a name="namedlink">Bookmark</a>


I am wondering if there is a way to link to specific spots in other html documents using html/css. Is this possible using only html/css or do I need to look into other web technologies?

Is This A Good Question/Topic? 0
  • +

Replies To: Linking to specific spots in other documents.

#2 williamgeorgegardner   User is offline

  • CEO of GeekTelligence
  • member icon

Reputation: 19
  • View blog
  • Posts: 584
  • Joined: 27-December 09

Re: Linking to specific spots in other documents.

Posted 04 March 2010 - 06:43 AM

I do not know how to do this but I think it is possible in HTML/XHTML/CSS.
Was This Post Helpful? 0
  • +
  • -

#3 Ludwig the Mad   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 29
  • Joined: 21-April 09

Re: Linking to specific spots in other documents.

Posted 05 March 2010 - 02:31 AM

I found an answer to my question
A link to the Useful Tips Section from another document:

<a href="http://www.w3schools.com/html_tutorial.htm#tips">
Jump to the Useful Tips Section</a>  

Was This Post Helpful? 0
  • +
  • -

#4 gregwhitworth   User is offline

  • Tired.
  • member icon

Reputation: 221
  • View blog
  • Posts: 1,613
  • Joined: 20-January 09

Re: Linking to specific spots in other documents.

Posted 05 March 2010 - 11:59 AM

To explain your answer so that if someone finds this post they will understand what you just put up:

Basically you will put an anchor with a name that corresponds with the pound sign in your link:
<a name="title">New Post</a>



Then your link needs to correspond with that name:
<a href="index.php#title">Go straight to the title</a>



Hope that helps someone.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1