|
Web Development & Graphic Design Problem Solving for Graphic Design, PHP, ASP, Perl, MySQL, SQL, XML, HTML issues |
![]() |
|
Topic Tools |
#1
|
|||
|
|||
Link that opens on a new page?
How do I edit the HREF tag to make a link open on a new page and not the same one?
|
#2
|
||||
|
||||
<a href="http://www.w3schools.com/"
target="_blank">Visit W3Schools!</a> |
#3
|
||||
|
||||
If you want to have strict validation then you can use Javascript.
Code:
<a href="http://www.google.com" onclick="window.open(this.href); return false;">Link</a> |
![]() |
Bookmarks |
«
Previous Topic
|
Next Topic
»
|
|
![]() |
||||
Topic | Topic Starter | Forum | Replies | Last Post |
click a link on a webpage and an incorrect tab opens | gaesilva | Malware Removal | 27 | February 24th, 2021 08:23 PM |
PC opens with Bios page | Tunnan | Windows XP | 1 | January 31st, 2007 03:26 PM |
A new browser opens up to s different page? | tav_s | Malware Removal | 7 | December 26th, 2005 08:49 PM |
New page opens with just title bar | cantes903 | Windows XP | 6 | October 15th, 2005 03:14 AM |
link opens pop-up window | DJoe | Web Development & Graphic Design | 7 | October 2nd, 2005 09:27 PM |
All times are GMT +1. The time now is 05:42 PM.