Links not working

liunx

Guest
Hi all...its me again,I know this is somewhat messy code.<br />
<br />
<br />
On my home page all the links work,this is my home page code:<br />
<br />
<html><head><title>Links</title></head><body bgcolor="#669933" link="blue" vlink="purple"><br />
<table cellspacing=2 cellpadding=0 border=0><br />
<tr valign="top"><br />
<td width=100><br />
<img src=http://www.htmlforums.com/archive/index.php/"http://www.naturessunshine.com/img/products/925.jpg"><br />
<a href=http://www.htmlforums.com/archive/index.php/"C:\My Documents\quality.html"><br />
<p><b>Quality</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products1.html#1"><br />
<p><b>Womens Health</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products1.html#2"><br />
<p><b>Mens Health</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products1.html#3"><br />
<p><b>Weight Loss</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products1.html#4"><br />
<p><b>Immune Booster</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products1.html#5"><br />
<p><b>Energy and Vitality</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products1.html#6"><br />
<p><b>Structural System</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"C:\My Documents\aboutmysite.html"><p><b>About my site</b></p></a><br />
<a href=http://www.htmlforums.com/archive/index.php/"mailto:[email protected]"><b>Contact me</b></body></html></td><br />
<td><html><head><title>Natures Sunshine Everflex</title><br />
<div align="center"><h1>LIVING VINE HERBALS</h1></div><br />
<br />
</body><br />
</html><br />
</tr><br />
</table><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
On this page only my "home" link, and Contact me" links work.As always thanks for your input :) <br />
<br />
<br />
<br />
<br />
<html><head><title>Quality</title></head></head><br />
<table cellspacing=2 cellpadding=0 border=0><br />
<tr valign="top"><br />
<td width=100><br />
<a href=http://www.htmlforums.com/archive/index.php/"C:\My Documents\home.html"><br />
<p><b>Home</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products.html#1"><br />
<p><b>Womens Health</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products.html#2"><br />
<p><b>Mens Health</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products.html#3"><br />
<p><b>Weight Loss</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products.html#4"><br />
<p><b>Immune Booster</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products.html#5"><br />
<p><b>Energy and Vitality</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products.html#6"><br />
<p><b>Structural System</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"C:\My Documents\aboutmysite.html"><p><b>About my site</b></p></a><br />
<a href=http://www.htmlforums.com/archive/index.php/"mailto:[email protected]"><b>Contact me</b></td><br />
<td><html><head><title>Quality Assurance</title><br />
</head><body bgcolor="#669933" link="blue" vlink="purple"><div align="center"></a><h1>Quality Assurance</h1><br />
<br />
</html><br />
</td><br />
</tr><!--content-->the working "Home" link points to a location on your harddrive (C:\blah, and therefore is only accessible by you, others get a 404), while the other not working links do not point to your harddrive.. be sure to put in the correct paths to your pages, and get rid of the links to your harddrive.<!--content-->Yes,<br />
I kinda thought you wouldnt be able to view it,I havent got a host yet..waiting till Im more complete,is there a decent free hostong site I can use just to give you guys the URL so you can view the page,and maybe help me,the free ones Ive seen have all the ads etc....kinda messes up the code.<!--content-->http://dir.yahoo.com/Business_and_Economy/Business_to_Business/Communications_and_Networking/Internet_and_World_Wide_Web/Network_Service_Providers/Hosting/Web_Site_Hosting/Free_Hosting/<br />
<br />
Take your pick at the above address. Or you could add the code as an attachment... but online would be better for us to have a look.<!--content-->I merged these threads together becaus eI think you hit the new thread button instead of the reply, need to watch that.<br />
<br />
and for the code not working is because you have several links and none of them are closed,<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"C:\My Documents\quality.html"><br />
<p><b>Quality</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products1.html#1"><p><b>Womens Health</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products1.html#2"><p><b>Mens Health</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products1.html#3"><p><b>Weight Loss</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products1.html#4"><p><b>Immune Booster</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products1.html#5"><p><b>Energy and Vitality</b></p><br />
<a href=http://www.htmlforums.com/archive/index.php/"products1.html#6"><p><b>Structural System</b></p><br />
<br />
you need to add </a> at the end of each of those.<!--content-->... and the <p> and </p> tags used within each link probably isn't such a neat idea either. Using Block Level elements inside Inline elements can break some browsers.<!--content-->Ok...I inserted the </a> tags...my links work fine now :)<br />
BUT, when I took the <p> </p> tags out all my links run together...what can I do to space them...thanks for the help!!<!--content-->use <br> tags in place of your <p> and there is no ending tag for the <br> tag.<!--content-->You really have to love this forum,thanks guys for all your help thus far. I have just published my first couple pages...I'll send a link a little later....gotta add some phiazz first :)<!--content-->
 
Back
Top