Re: WHICH HTML-CODE is better to use?

Arnoud (galactus@htmlhelp.com)
Fri, 11 Apr 1997 21:07:51 +0200


From: galactus@htmlhelp.com (Arnoud "Galactus" Engelfriet)
To: www-html@w3.org
Subject: Re: WHICH HTML-CODE is better to use?
Date: Fri, 11 Apr 1997 21:07:51 +0200
Message-ID: <HwoTz4uYOdaW089yn@htmlhelp.com>

In article <199704111513.LAA05465@unix.asb.com>,
"Robert Rothenburg 'Walking-Owl'" <WlkngOwl@unix.asb.com> wrote:
> You're right. But it's done tests using a Perl script to fetch a page 
> and noticed some servers return the page properly (possibly just when 
> http://www.site.whatever without the final '/') while others return a 
> 'page moved' error.

An URL which consists just of a scheme + machine name does not need
the trailing slash. It's actually the *starting* slash, it begins
the local part of the URL. Since it is clear in "http://www.w3.org"
which local part I mean, the slash is optional. Many consider it
good style to include it, though.

It is *not* the same as "http://www.w3.org/pub/WWW", where the slash
is required.

-- 
E-mail: galactus@htmlhelp.com .................... PGP Key: 512/63B0E665
Maintainer of WDG's HTML reference: <http://www.htmlhelp.com/reference/>