[10987] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Re: URL specification: referring to the current directory.

daemon@ATHENA.MIT.EDU (Brian Kelly)
Fri Sep 12 11:57:38 1997

Date: Fri, 12 Sep 1997 16:18:15 +0100 (BST)
From: Brian Kelly <lisbk@ukoln.ac.uk>
To: Andrew Daviel <advax@triumf.ca>
Cc: www-talk@w3.org
In-Reply-To: <Pine.LNX.3.95.970910120425.13950I-100000@andrew.triumf.ca>
Resent-From: www-talk@w3.org

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




home help back first fref pref prev next nref lref last post