Click to See Complete Forum and Search --> : Linking Web Pages??


NeoGreen
08-26-2006, 11:29 PM
Okay here is my problem I am trying to link two webpages together, but the problem I am having is that when I go to click on the link the page does not show. I use <a href="nameofwebpage.htm">WebPage</a>. I tried to make sure the path was correct and it is. The web page just won't come up. What I did was create a webpage on FrontPage, then I created another WebPage. I wanted to use one to link to the other. Any advice will help. :confused:

BonRouge
08-27-2006, 10:55 AM
That's basically how it works. You might need to post more information here. Are these pages on a public server? Can we see them?

Quick bit of advice: don't use FrontPage. It adds code to your page that you don't ask for. There are many good text editors out there that you can use to write web pages. Personally, I use EditPlus, but as I say, there are many other good ones.

madmitch94
08-28-2006, 09:29 AM
You should try using it all in capitals for example:

<A HREF="pagename.htm">Click here to visit a page</A>

Or check out the html goodies primer by
Clicking here (http://www.htmlgoodies.com/primers/html/article.php/3478171)

Charles
08-28-2006, 09:51 AM
1) HTML is case insensitive, all capitals will make no difference. And note, if HTML were case sensitive then it would be upper case element names and lower case attribute names.

2) HTML Goodies is extremely bad. Avoid it at all costs!

slaughters
08-28-2006, 10:36 AM
It looks like the syntax for your link is correct to me.

While Charles is correct about HTML commands being case insensitive, the file name inside the quote marks probably is case sensitive.

Make sure the file name is really nameofwebpage.htm and not NameOfWebpage.htm, NAMEOFWEBPAGE.HTM , etc.. You also might want to make sure it ends in htm and not html

NeoGreen
08-28-2006, 04:49 PM
:confused: I don't have the loaded onto a web server yet :( , but will as soon as a get it done. What I am doing is created these web pages on Front Page, which alot of people have told me not to use. Now I know why. I will try the uppercase example, to see if it works. Another thing, is there a problem if, lets say, that I created the home page on Front Page I then click on the new page icon to begin a second page. Should the first page be saved a certain way because it is the home or main page? I really don't know to much about Front Page, and I should have probably started with a simple text editor, but as I was browsing around the commands I noticed that on the new page icon it has option to create a new page or a new webpage. Which one should I choose?

Tweak4
08-29-2006, 09:53 AM
You just have to make sure that your main page is named a name that your server is setup to look for.
On most servers, the admin can define a list of default page names similar to the following:
default.htm
default.html
index.htm
index.html
main.htm
etc, etc

When you enter a url that ends with a directory (rather than a specific file), the server will check each entry in the list (starting at the top), and see if a file exists with that name. If it finds one, it serves up that file.
So, you just need to make sure that your main page is named something from your server's list - preferably something near the top.
Of course, if you have control of your server, you can add new things to the list, or reorder them, but if you don't, you just need to make sure you name your files correctly.


At least that's how IIS works. I would assume Apache and other servers have something similar, but we're a .Net shop, so IIS is the only one I know well.

madmitch94
09-04-2006, 03:23 PM
well, I like html goodies.com and I think it is a nice website. I also would recommend to the link guy Dreamweaver. It is great for Web-Designers and has a search for file capability

the tree
09-04-2006, 03:39 PM
well, I like html goodies.com and I think it is a nice website.Being a "nice website" doesn't make the infomation it contains any less of a load of crap.

The Little Guy
09-04-2006, 03:47 PM
is the file your linking to in the same directory or a different directory?

NeoGreen
09-04-2006, 04:42 PM
It is in the same directory. I placed all the web pages for the site in one folder.

NeoGreen
09-04-2006, 09:23 PM
What do you recommend as far as organizing the web pages for a website. Some people say to keep all pictures in one folder, and info in another.

mueller
09-05-2006, 12:28 AM
1) HTML is case insensitive, all capitals will make no difference.

Although HTML isn't case sensitive, some server file systems are (i.e. UNIX) - so it can make a difference.

And note, if HTML were case sensitive then it would be upper case element names and lower case attribute names.


If you want your HTML to be XML compliant (XHTML), you need to use lowercase element names and attributes.

slaughters
09-05-2006, 09:55 AM
Although HTML isn't case sensitive, some server file systems are (i.e. UNIX) - so it can make a difference....Which I state in the very next sentence.

As far as organizing stuff, it's nice to have all the images in a seperate folder, because if you end up having a lot of them it makes it more difficult to find your HTML files the next time you want to edit them.

mueller
09-05-2006, 06:26 PM
Sorry slaughters - I must have missed your post.