Computer problems,Computer help
*AX SOFT>>>Programming & Design

How do you make a webpage open in the same window instead of a new one?


Here is the example code for the webpage with icon image. How do you make it so that this link opens in the same window instead of a new one?

<a href="http://www.quackit.com/travel/new_... target="_blank"> <img src="http://www.quackit.com/pix/milford_... width="225" height="151" alt="Milford Sound in New Zealand" /> </a>


Above example link from: http://www.quackit.com/html/codes/html_i...

<a href="http://www.quackit.com/travel/new_... target="_self"> <img src="http://www.quackit.com/pix/milford_... width="225" height="151" alt="Milford Sound in New Zealand" /> </a>

change target="_blank" to "_self"

get rid of the target part all together Report It

the bit making it open in a new window is the:

target="_blank"

part. Target _blank opens a link in a new window. The other options for the target attribute are:

"_blank"
"_parent"
"_self"
"_top"

I believe _self opens a link in the current window, although if you take out the target part altogether, it defaults to opening in the current window. Your code should look like this:

<a href="http://www.quackit.com/travel/new_... <img src="http://www.quackit.com/pix/milford_... width="225" height="151" alt="Milford Sound in New Zealand" /> </a>

Tags
  General - Computers & Internet   Software   Security   Programming & Design   Facebook   Flickr   Google   MSN   MySpace
Related information
  • What are the parts of a website that excite you, what make you stay longer on it,what's a no no?

    It all depends on what the website is for. I generally use the web to find information. In that case, I like a website that is well constructed, presents its information in an easy to find, easy ...

  • Can some one help me to check why cant my program work. thanks?

    Firstly.... You should follow some conventions... #include <stdio.h> Should be #include <cstdio> And all of these TotalScore = TotalScore + 4.00; Should be TotalScore += 4.0...

  • What type of website is this?

    It's a directory.

    ...
  • In C++ Convert each decimal number to the nearest integer??

    Your logical operators are taking affect.. putting the "+" in presidence before the function base it's self... so it's adding together the floating point values of a-e, then set...

  • What form input type does this?

    checkboxes? radio buttons, you can only select 1 in a group pull down menus can only select 1 listboxes in VB you can select more than 1 what language would this be in? I initially thought...

  • How make your own website??

    WHAT YOU NEED; 1.Domain name & Hosting (to display site) needed. Buy it... ...

  • Can somebody tell me what the error is in this PHP line?

    looks like your missing a "," after the ssn: (line 13) if(isset($_REQUEST['agree'], $_REQUEST['firstname'], $_REQUEST['lastname'], $_REQUEST['address...

  • Photoshop. Need help on technique. Example inside.?

    Open any image you need with photoshop, zoom it at size you can edit it, use earser tool to remove the background, finally, duplicate the layer to another new one and change blending options to add...

  •  

    Categories--Copyright/IP Policy--Contact Webmaster