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/21/06 15:02

"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

One is two characters longer than the other.

Seriously, I think that is the only difference. A single dot "." is a
reference to the current directory (similar to ".." referring to the
parent), so "./Test.csp" is the same as "Test.csp".
--
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

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