Web Designing Made Easy

Add to Favourites Tell a Friend

 Print this Page

Make Your Home Page
 

Create Free Websites

Google
Web This Site

HTML Tutorial

JavaScript Tutorial

CSS Tutorial

PHP/ASP

CGI Tutorial

Free Web Tools

Free FTP Tool

Free websites

Free Bullets

Free Templates

Free Logos

Tutorials

Free Keywords Software

Free Web Tools

Free JavaScripts

Other Services

Quick Links

Tell a Friend

Submit a Tutorial

Links

Free Resources

Translate a webpage in your Language

Earn money with your website

Free Website Submission

Suggestions

META Tag Generator

HTML Encryptor

Check Site Popularity

Search Suggestion Tool

Menu Generator

Ads Network

Valid CSS!

HomeHome |AdvertiseAdvertise | Contact UsContact Us |Free Resources Free Resources |Submit a Tutorial Submit a Tutorial

 

Opening a New Browser Window

How make a link open in a new browser window

To get a link to open in a new browser window, what you do is add the target="_blank" attribute to your link tag, like this:

<A HREF="http://www.freewebknowledge.com/linkus.php" target="_blank">
Link to us!</A>

This will give you the following link:

Link to us!

Go ahead and click on it. Your browser will open a new window with my reciprocal links page in it. You will need to close the window when you are finished. Use the "close" option rather than the "exit" option, because the "exit" option will make you exit your browser entirely!

You can try it with an image as well:

<A HREF="http://www.freewebknowledge.com/index.php" target="_blank">
<IMG SRC="http://www.freewebknowledge.com/images/free-website-small.gif">
</A>

Now you have the clickable image:

There is also a way to do this using JavaScript, which gives you more options on the appearance of the new window. If you are interested, go to the section Opening a New Window with JavaScript.

Well, that does it for this section. So, let's go on to the next section, Fixed Backgrounds.

Practice Here.

Next

 

 

 

Home | Contact Us| Links| Privacy Policy