Click here for AnswerPool.com Home page


Google

    AnswerPool.com  Hop To Forum Categories  Computers  Hop To Forums  Internet    Simple HTML request

Moderators: Dwight
Go
Post
Find
Notify
Tools
Reply
  
  Login/Join 
Gold Enthusiast
Posted
What is the code to create anchors on a page? You know, where you click a link and it takes you to a spot further down on the same page?

Also, is there an HTML code which will cause a clicked link to open in a seperate window? I know this can be done with a java script, but I want to avoid using java if at all possible.
 
Posts: 1015 | Location: Atlanta, GA USA | Registered: 06-04-02Reply With QuoteEdit or Delete MessageReport This Post
Gold Enthusiast
Posted Hide Post
To link to a bookmark within a page, you'd use

<a href=Page_URL#Anchor_name>Text describing the link</a>

On the target page, you'd have

<a name=Anchor_name></a>

To open a link in a new window, use

<a target=_blank href=Page_URL>Text describing the link</a>
 
Posts: 915 | Location: Dawson Ck. BC Canada | Registered: 06-03-02Reply With QuoteEdit or Delete MessageReport This Post
Gold Enthusiast
Posted Hide Post
I neglected to mention that, for a bookmark within the current page, omit Page_URL, i.e.,
<a href=#Anchor_name>Text describing the link</a>
 
Posts: 915 | Location: Dawson Ck. BC Canada | Registered: 06-03-02Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

    AnswerPool.com  Hop To Forum Categories  Computers  Hop To Forums  Internet    Simple HTML request

© 2002-2008 AnswerPool.com



Visit DiscussionPool.com!