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 TARGETS








By default, links will open in the current window or frame.

You need to add a target if you want the link to open in another window or frame than the link itself is placed in.

To do this you simply add a target="" to the <a href>.

This example will open yahoo in a new window:
<a href="http://www.yahoo.com" target="_blank">


Predefined targets are:
  • _blank loads the page into a new browser window.

  • _self loads the page into the current window.

  • _parent loads the page into the frame that is superior to the frame the hyperlink is in.

  • _top cancels all frames, and loads in full browser window.


In addition to these, you can also enter the name of a frame window if your page is within a frameset.

You can click here to learn more about links in framesets.

 << PREVIOUS
READ MORE >>  
















DEVELOPER TIP!
FACT:
EchoEcho.Com contains thousands of pages devoted to webmasters.
TIP:
Use the dropdown menus at the top to jump between different sections.





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


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