Article View: pl.comp.www
Article #519Re: Domyslna sciezka w dokumencie
From: Grzesiek Staniak
Date: Sun, 18 Feb 1996 00:00
Date: Sun, 18 Feb 1996 00:00
33 lines
1709 bytes
1709 bytes
Jacek Piskozub wrote: > A skad plynie to przekonanie? Z doswiadczenia :) > Zacytuje fragment specyfikacji HTML 2.0: > > "The optional BASE element provides a base address for interpreting relative URLs > when the document is read out of context (see section Hyperlinks). The value of > the HREF attribute must be an absolute URI." > > I to wszystko. Zatem jest to legalna czesc jezyka HTML. W Netscapie dziala > bezblednie, stosuje to na prawie wszystkich pisanych przeze mnie stronach. Dotad > nikt nie narzekal. Alez ja nie mowie, ze BASE jest nielegalne. Mowie tylko, ze browsery zakladaja, ze BASE jest URI samego dokumentu. Dla przykladu: zrob katalog DIR, a w nim "index.html" z linkiem do "1.html", a w "1.html" ustaw BASE HREF="http://www.costam/DIR/". Jesli wejdziesz w "index.html", a potem stamtad do "1.html", to zgadnij co sie stanie po wcisnieciu przycisku BACK w Netscapie? > -- > Jacek Piskozub > Institute of Oceanology PAS, Sopot, Poland > mailto:pisk...@iopan.gda.pl > http://www.iopan.gda.pl/~piskozub -- Grzesiek Staniak gsta...@golem.umcs.lublin.pl - http://www.lublin.pl/~gstaniak/
Technical Details
Message-ID:
<31276B0C.215E@golem.umcs.lublin.pl>Path:
mbox-mo1.pugleaf.net!unknown!not-for-mailReferences:
<311BA04B.26B973EA@cray3.hstl6.put.poznan.pl> <311EFB1E.147A@iopan.gda.pl> <31221044.3068@golem.umsc.lublin.pl> <31231CCC.6A8A@iopan.gda.pl>Show Full Headers
Complete Article Headers
From: Grzesiek Staniak <gsta...@golem.umcs.lublin.pl> Subject: Re: Domyslna sciezka w dokumencie Date: 1996/02/18 Message-ID: <31276B0C.215E@golem.umcs.lublin.pl> X-Deja-AN: 139955771 references: <311BA04B.26B973EA@cray3.hstl6.put.poznan.pl> <311EFB1E.147A@iopan.gda.pl> <31221044.3068@golem.umsc.lublin.pl> <31231CCC.6A8A@iopan.gda.pl> cc: gsta...@golem.umcs.lublin.pl mime-version: 1.0 newsgroups: pl.comp.www x-mailer: Mozilla 2.0 (Win95; I) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit