W3C home > Mailing lists > Public > www-talk@w3.org > September to October 1997

Re: URL specification: referring to the current directory.

From: Brian Kelly <lisbk@ukoln.ac.uk>
Date: Fri, 12 Sep 1997 16:18:15 +0100 (BST)
To: Andrew Daviel <advax@triumf.ca>
cc: www-talk@w3.org
Message-ID: <Pine.SOL.3.93.970912161301.24836H-100000@lamin>
On Wed, 10 Sep 1997, Andrew Daviel wrote:

> On Wed, 10 Sep 1997, Arnoud Galactus Engelfriet wrote:
> 
> I would think that a spider may see "/foo/bar/" 
> and "/foo/bar/index.html" as distinct URLs, unless some scheme to
> eliminate duplicates is implemented (maybe the big guys do..)
> 

The original posting was concerned with how a <A > element should refer
to the default file in a directory e.g. are

<A HREF = "./">The default file in the current directory</A>
<A HREF = "index.html">The default file in the current directory</A>

equivalent.  

How should one refer to an internal anchor in such a file.  Are

<A HREF="./#section1>An internal anchor in the default file</A>
<A HREF="index.html#section1>An internal anchor in the default file</A>

equivalent, or with browsers or other user agents treat #section1 as a 
filename?


Thanks

Brian Kelly
------------------------------------------------------
Brian Kelly, UK Web Focus
UKOLN, University of Bath, BATH, England, BA2 7AY
Email:  B.Kelly@ukoln.ac.uk     URL:    http://www.ukoln.ac.uk/
Phone:  01225 323943            FAX:   01225 826838
Received on Friday, 12 September 1997 11:18:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:23 GMT