Solved

Linking to an anchor in another web page using html

Posted on 2008-10-19
6
262 Views
Last Modified: 2010-04-06
Is there a way to link from one page to another location (that is anchored) on a different page?
0
Comment
Question by:blerman456
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 12

Accepted Solution

by:
hfraser earned 250 total points
ID: 22754647
Sure. The format is:

<a href="http://target.html#anchor>Link to an anchor in another document</a>
0
 
LVL 8

Assisted Solution

by:fcardinaux
fcardinaux earned 250 total points
ID: 22755121
On the first page, your link must look like this:

<a href="page2.html#abcd>Link to page 2, chapter "abcd"</a>

On the second page, you need to have an anchor like this where the chapter begins:

<a name="abcd"></a>
0
 

Author Comment

by:blerman456
ID: 22756746
Here is what keeps showing up in my source when I type in what you stated:
<href="famous_mathematicians.html#Euclid_of_Alexandria" target="Euclid_of_Alexandria">

I keep typing "<a href"  but it doesn't stay.  Also, shoud I actually type in:

<a href ="famous_mathematicians.html#Euclid_of_Alexandria>Link to famous_mathematicians.html,"Euclid_of_Alexandria"</a>
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 8

Expert Comment

by:fcardinaux
ID: 22759172
Yes, you should. What kind of editor do you use? Are you writing HTML code? According to what you have written in your last comment, you may be writing some kind of XML template.
0
 

Author Comment

by:blerman456
ID: 22759916
I am using Compozer to write the code.  Is it a template?  If so, how can youtell>
0
 
LVL 12

Expert Comment

by:hfraser
ID: 22762676
If you're using Kompozer, it's much easier. Go into "Normal" mode (the tab at the bootom). Type in the text

Link to famous_mathematicians.html,"Euclid_of_Alexandria"

Using the mouse, select the text. At the top of the click on the "Link" button (it looks like a link in a chain).
Enter the URL you want to link to:

http://famous_mathematicians.html#Euclid_of_Alexandria

and hit OK. If you'd like to see the HTML it created, click on the "Source" button on the bottom.
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question