Forum Moderators: open

Message Too Old, No Replies

question about links

         

knights1

6:54 pm on Jun 24, 2005 (gmt 0)

10+ Year Member



I've been learning HTML and alot of the examples i see have links to things or using a navigation frame, with liunks that end in .htm or .html cann i use .com or .ca etc.? I'm having trouble getting them to show.

SuperNovaCain

9:40 pm on Jun 24, 2005 (gmt 0)

10+ Year Member



If I get the gist of what you're asking...

Links must point at some object, like a webpage, an image file, whatever.

A link can contain a domain, a path and a file.
[some--domain.com...]

When all are specified, it is an "absolute" address.

When no domain is included in a link, it is assumed to be at the same domain as the origin of the link and the path is relative to the origin of the link. Likewise if there is no path, it is assumed to be in the same folder as the page containing the link.
These are "relative" addresses.

When you see a link like...
[some--domain.com...]
it will use the root folder of that domain and will get the default object as specified on that server (usually index.html)
so it would be the same as using the absolute path...
[some--domain.com...]

Take the advice from some of your other threads and read up on how HTML works. Search "html tutorial". You should get a ton of results, all free.

I don't think I can post addresses here so if you want some of my personal recommendations, just stickymail me.

Cheers
SuperNĪvaCain

BetterSEO

10:26 pm on Jun 24, 2005 (gmt 0)

10+ Year Member



liunks that end in .htm or .html cann i use .com or .ca etc.?

Links normally point to filename(dot)file-type. Common web file types include .html, .htm, .php, .asp, .jsp, .css, etc and tell the server and browser how to handle the file being served. .com and .ca are TLDs and generally should not be used as file-types.