You are here: Re: single dot prefix for hyperlinks « HTML « IT news, forums, messages
Re: single dot prefix for hyperlinks

Posted by Brian Cryer on 09/22/06 10:28

"Jonathan N. Little" <lws4art@centralva.net> wrote in message
news:a36c5$4512f5b1$40cba7ac$31675@NAXS.COM...
> richard wrote:
>>
>> "Dave" <david.mh.tong@gmail.com> wrote in message
>> news:1158847097.138424.192140@m73g2000cwd.googlegroups.com...
>>> Hi,
>>>
>>> Can anyone tell me the difference between the following where
>>> "Test.asp" is found in the same folder as the target page calling the
>>> hyperlink "Last Image"?
>>>
>>> 1. <a href="./Test.csp">Last Image</a>
>>> 2. <a href="Test.asp">Last Image</a>
>>>
>>> Thanks in advance,
>>> Dave
>>>
>>
>> Either can be used, but 2 distinctively tells the coding to look in this
>> folder.
>> As I've always understood it, the / means another folder or directory.
>> The dot says, "backup one level then use this directory or folder".
>> A leftover shortcut from DOS.
>>
> Close but not quite:
>
> one dot './' means this folder in DOS
> 2 dots '../' means backup one level in DOS

or UNIX.
--
Brian Cryer
www.cryer.co.uk/brian

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация