Latest News: (loading..)

Archived

This topic is now archived and is closed to further replies.

blagger

A HREF command

5 posts in this topic

i am using the A HREF command to produce links, which is working.

 

but, currently the new page opens in the same window. what i would like it to do is open it in a completly new window. so the current window will still be available.

 

this is what i have:

 

<A HREF="http://www.deviltronics.com/"><center><font color=#0033ff><big>Visit Our Website For All Your Computer Needs And Fantastic Deals On Sim Free Mobile Phones</big></font></center></A>

 

whatt do i need to modify to achieve opening in a new window?

Share this post


Link to post
Share on other sites
i am using the A HREF command to produce links, which is working.

 

but, currently the new page opens in the same window. what i would like it to do is open it in a completly new window. so the current window will still be available.

 

this is what i have:

 

<A HREF="http://www.deviltronics.com/"><center><font color=#0033ff><big>Visit Our Website For All Your Computer Needs And Fantastic Deals On Sim Free Mobile Phones</big></font></center></A>

 

whatt do i need to modify to achieve opening in a new window?

 

target="_blank"

 

see http://www.htmlcodetutorial.com/linking/_A_TARGET.html

Share this post


Link to post
Share on other sites

Add target="_blank" into the a href tag

 

like this:

 

<A HREF="http://www.deviltronics.com/" target="_blank"><center><font color=#0033ff><big>Visit Our Website For All Your Computer Needs And Fantastic Deals On Sim Free Mobile Phones</big></font></center></A>

 

Edit: Beer monster beat me to the punch :D

Share this post


Link to post
Share on other sites

Your link will look like

 

<A HREF="page_That_you_want_To_open.php" target="_blank"> Link Name </a>

 

That's all you need

Share this post


Link to post
Share on other sites