Really, Really, REALLY basic HTML Question |
Really, Really, REALLY basic HTML Question |
potatopotato |
Sep 15 2014, 12:08 AM
Post
#1
|
Group: Members Posts: 2 Joined: 14-September 14 Member No.: 21,549 |
I'm taking an intro web development class, and I'm having problems with it with an assignment, or creating a navigation.
Hopefully its something really simple and easy to fix. I'm writing out the html in Notepad++, and uploading to filezilla and hosting on the schools server. Its a simple header, three links in the nav and a footer. Now my problem is, when I click on my home page (or any page), it loads fine, except all the links within that page are linked to the same place. For example when I'm on the home page, all the other links on the pages are also linked to "home". If go through the directory to get to the "resources" page then all links on the page are then linked to "resources". And the html wasn't written that way, and it does it for every page I click on. I hope that makes sense. Here are my links, I believe you'll be able to see what I mean. Here is my Resources page, all the links in the nav are linked to "resources" http://studentweb.gcccd.net/sara.warren/21...1resources.html Here is my Home page: http://studentweb.gcccd.net/sara.warren/21...te/211home.html And all the links in the nav are linked to "home" Thanks in advance, and I hope this is in the right place! |
Brian Chandler |
Sep 15 2014, 02:21 AM
Post
#2
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
This is a *terrible* title. If you want to know about links, put "links" in the title.
Anyway, you have things like: CODE <a href="http://google.com">Links</a> What do you think this means? |
Frederiek |
Sep 15 2014, 02:57 AM
Post
#3
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
|
pandy |
Sep 15 2014, 12:07 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
The nav links don't link anywhere. Their href attributes are empty (except for a blank space). When this is the case the current page is reloaded when you click such a link. You must type the URLs to the pages you want the links to lead to.
CODE <nav><a href=" ">HOME</a> <a href=" ">ASSIGNMENTS</a> <a href=" ">RESOURCES</a> </nav> |
potatopotato |
Sep 15 2014, 10:18 PM
Post
#5
|
Group: Members Posts: 2 Joined: 14-September 14 Member No.: 21,549 |
The nav links don't link anywhere. Their href attributes are empty (except for a blank space). When this is the case the current page is reloaded when you click such a link. You must type the URLs to the pages you want the links to lead to. CODE <nav><a href=" ">HOME</a> <a href=" ">ASSIGNMENTS</a> <a href=" ">RESOURCES</a> </nav> I noticed that, and somewhere between me changing it in Notepad++ and filezilla - its not uploading. No idea why, all my other changes have gone though. |
pandy |
Sep 16 2014, 08:41 AM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Maybe you uploaded the files to the wrong directory. Did you get the question about overwriting and so on?
|
Lo-Fi Version | Time is now: 23rd April 2024 - 08:00 PM |