buck Posted June 11, 2010 Report Posted June 11, 2010 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> Quote
Andrea Posted June 11, 2010 Report Posted June 11, 2010 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. Quote
Susie Posted June 11, 2010 Report Posted June 11, 2010 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> Quote
buck Posted June 11, 2010 Author Report Posted June 11, 2010 thanks i will work on it right now Quote
buck Posted June 11, 2010 Author Report Posted June 11, 2010 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> Quote
Andrea Posted June 11, 2010 Report Posted June 11, 2010 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. Quote
buck Posted June 11, 2010 Author Report Posted June 11, 2010 yes they are on my desk top and i right clicked on the files copyed them and pasted the file names into the href. is there something wrong with the way i have my page set up. Quote
Andrea Posted June 12, 2010 Report Posted June 12, 2010 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. Quote
buck Posted June 13, 2010 Author Report Posted June 13, 2010 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? Quote
Andrea Posted June 13, 2010 Report Posted June 13, 2010 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 ? Quote
Recommended Posts
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.