Jump to content

page linking


buck

Recommended Posts

well i just spent two hours trying to link my pages together from the down load i got yesterday could someone please tell me what i messed up. sorry if this seams like a goofy question but this is my first time ever messing with web pages. im a plumber by trade. when i click on the link it tells me that it can not find the link.

 

 

<div id="navigation">

 

<ul>

 

<li<a href="index.html">Home</a></li>

<li<a href="services/services.html">Service</a></li>

<li<a href="construction.html">Construction</a></li>

<li<a href="askbuck.html">Ask Buck</a></li>

<li<a href="makeapointment.html">Make an Appointment</a></li>

<li<a href="bucksgaurentee.html">Buck's Guarantee</a></li>

<li<a href="gogreen.html">Go Green</a></li>

 

</ul>

 

</div>

Link to comment
Share on other sites

Have you created those pages and saved them in the same directory as your index page - minus the services.html page which needs to be in a folder called 'services' inside the folder that holds your index page.

Link to comment
Share on other sites

And aside from what Andrea mentioned, I noticed a mistake in your code. You need to close the opening <li> tags.

 

<li<a href="index.html">Home</a></li>

<li<a href="services/services.html">Service</a></li>

<li<a href="construction.html">Construction</a></li>

<li<a href="askbuck.html">Ask Buck</a></li>

<li<a href="makeapointment.html">Make an Appointment</a></li>

<li<a href="bucksgaurentee.html">Buck's Guarantee</a></li>

<li<a href="gogreen.html">Go Green</a></li>

Link to comment
Share on other sites

i tryed it but it didnt work so i made a whole new page and it is still telling me that it can not find the other pages they are all on my desk top so they are not on a difrent plain any ideas?????

 

 

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

 

<head>

 

<title>ABK plumbing</title>

<meta name="discription" content="plumbing.">

<meta name="keywords" content="plumbing, ask buck">

<meta http-eqiv="content-Type" content="text/html; charset=iso-8859-1">

 

</head>

 

 

 

<body>

Logo goes hear

 

 

<div id="navigation">

<ul>

<li><a href="index">Home</a></li>

<li><a href="page2.html">Service</a></li>

<li><a href="page1.html">Construction</a></li>

<li><a href="page3.html">Ask Buck</a></li>

</ul>

</div>

 

 

<!--main doc starts hear with content main doc starts hear-->

 

<div id="content">

 

<h3>

The plumbers you can count on!

</h3>

 

<p>

ABK plumbing is a full service plumbing shop for all your plumbing

needs. we are licenced and insured for all your <a href="http://www">residental</a> and

<a href="http://www">comercial</a> needs.

</p>

 

<h3>

ABK Plumbing's mission

</h3>

 

<p>

ABK is in buisnes for our clients. Our ultimate goal is to take care

of all our clients plumbing need with the highest quality product

at a resonalble price.

</p>

 

<h3>

2nd title

</h3>

 

<p>

2nd tittle paragraph

</p>

</div>

 

 

</body>

Link to comment
Share on other sites

So your index.html and all the other pages are directly on your desktop - no subfolders there that some of them may be in? Have you verified that you actually HAVE a file called page2.html? Will that open when you go to it directly via your Browser and File - Open? Check the file name - they are case sensitive.

Link to comment
Share on other sites

And they open directly via your browser?

 

Your code looks fine - the closing html tag is missing, but that may just not have copied over - and wouldn't keep the pages from opening.

 

This:

 

<a href="page2.html">Service</a>

 

is the correct code to link from one page to a page called page2.html assuming it's in the SAME directory. So if your index.html is directly on your desktop, your page2.html has to be there, two. There are only 3 reasons why this would not work: the page does not exist. The file name is misspelled. the file is in a different directory - aka - the path is wrong.

Link to comment
Share on other sites

we i couldn't get my stuff to link together so i down loaded a template web sight and right clicked the base page to make a copy and i tried to link them together. i left every thing on my desk top and i still cant make it work. is there some kind of softwear that i need to git to make it work?

Link to comment
Share on other sites

No, you do not need any special software - that's all inside the HMTL you are writing.

 

Again - have opened your browser window, gone to File - Open File - and made your way to the pages you are trying to open? Once you opened them that way - post the URL if gives you in your browser's address bar - for example:

 

file:///C:/Users/Andrea/Desktop/willi.html

 

--- How does this look like on your end once you opened page2.html ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...