|
-
Mar 18th, 2003, 06:49 PM
#1
Thread Starter
PowerPoster
Simple HTML question {Resolved}
New to HTML.
I downloaded three web pages which were linked on the download site and put them into a directory (d:\test).
The original html has a "xref" within the document which I surmise establishes the link between the pages. In front of xref is the http address.
Is there a way to identify that the default directory (d:\test) is the xref for the other pages
OR
do I need to substitute the http address with (d:\test)
OR
am approaching this wrong.
Thanks
David
Last edited by dw85745; Mar 22nd, 2003 at 09:33 AM.
-
Mar 19th, 2003, 06:08 AM
#2
Frenzied Member
I'm not really sure what xref is, href is used with <a> tags to link to files, maybe if I could see the page I could tell you. But anyway if you want to link to a file you don't need to use the full http://... stuff, you can just name the file (and directory if needed) as it's relative to the html file. E.g. say you had your index.htm in a directory, and wanted to link to a file named index2.htm in a sub directory "sub_dir" you could just link to it like <a href="sub_dir/index2.htm">...
-
Mar 19th, 2003, 10:47 AM
#3
Thread Starter
PowerPoster
Hi Rick:
Thanks for responding. Hope all goes well across the pond. BTW haven't made much progress on my cleaning up my code. One of those tough projects which seem to always get put on the back burner.
Our news media indicates there is a lot of protesting re Iraq in England. Is this true, or just like here, a small % of the people?
VB Code:
<A href="http://www.geocities.com/SiliconValley/Way/9731/index.html">
Your right it is href not xref (must have been asleep).
Your explanation is good for a subdirectory situation, but where I copied the three pages into the same directory, I ASSUME all I need is href=index.html
Tried this but so far doesn't seem to want to find the index page.
David
-
Mar 20th, 2003, 06:55 AM
#4
Frenzied Member
Well most of the people are anti the war, and on the march (I was there too ) there were about 2 million people.
Anyway yes all you should need is index.html, if it's not working I can only think you have a spelling mistake, or the files are in another directory. Don't think I can help much more without seeing the directory structure.
-
Mar 23rd, 2003, 03:25 AM
#5
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|