You are here: Re: Neew to open link in new brouser window « HTML « IT news, forums, messages
Re: Neew to open link in new brouser window

Posted by patrick j on 10/29/06 16:08

On Mon, 30 Oct 2006 15:25:11 +0000, CJCoates wrote
(in article <sK31h.4611$bb1.4086@newsfe07.lga>):

> I am new to HTML and have a simple site with a link that goes to another web
> site.
> My link opens the new site in the same window.
>
> I am trying to figure out how to make it open a new window.
>
> Any advice is appreciated.

Hi

This is rarely thought to be a good thing to do, although it is done
very frequently.

It's easily accomplished.

Just put target="_blank" in the link tag like so:

<a href="http://www.patrickjames.me.uk" target="_blank">Link Text</a>

The reason people feel it's not a good idea is that it is a nuisance
for when browsing the web to have pages open in new windows. After all
if the person browsing the web wants to open the page in a new window
they can choose to do that themselves.

If it is to be done then I think it is polite to let the person know
that the link will open page in new window.




--
Patrick
Brighton, UK

<http://www.patrickjames.me.uk>

 

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

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