EchoEcho.Com Homepage
Web Hosting - As Reliable As It Gets!
   Home > Tutorials > HTML > Links


 Tutorials 
 D-Zine Articles 
 Online Tools 
 Free Resources 
 References 
 Quiz 
 Hosting 

















  HTML Links :
LINK TO NEW WINDOW








If you want your link to open a page in a new window use the target="_blank" in the <a href> tag.

Targetting the link to "_blank" simply opens a new browser window that will load the linked page.

Linking to Yahoo the traditional way would require this link:

<a href="http://www.yahoo.com">Go to Yahoo</a>



If you add a target="_blank", the page will open in a new window:

<a href="http://www.yahoo.com" target="_blank">Go to Yahoo</a>



Click the link below to see this link in action:


If you want to customize the new window as to which buttons, menus etc. should be available and which size it should have, you will need to do that with javascript.

You can use our Popup Tool to create your own customized windows without knowledge of javascript.

You can learn more about predefined link targets here.


 << PREVIOUS
READ MORE >>  
















DEVELOPER TIP!
FACT:
The scrollbar takes up about 30 pixels.
TIP:
If you're designing for an 800px screen width don't use more than 770 pixels!





     "Better Than Books - As Easy As It Gets!"


On EchoEcho: D-Zine Articles | Tutorials | Online Tools | Free Resources | References | Quiz | HostingAbout EchoEcho