The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Really, Really, REALLY basic HTML Question
potatopotato
post 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!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post 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?


User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Sep 15 2014, 02:57 AM
Post #3


Programming Fanatic
********

Group: Members
Posts: 5,146
Joined: 23-August 06
From: Europe
Member No.: 9



See also http://htmlhelp.com/reference/html40/special/a.html .
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
potatopotato
post Sep 15 2014, 10:18 PM
Post #5





Group: Members
Posts: 2
Joined: 14-September 14
Member No.: 21,549



QUOTE(pandy @ Sep 15 2014, 12:07 PM) *

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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 23rd April 2024 - 08:00 PM