Basic Web Design Tutorial Part 5

Making a link open in a new browser window

This is a handy trick, the link opens a new browser window (or a new tab on most browsers nowadays, now that Infernal Exploder finally does tabbed browsing). The TARGET attribute tells it where to go.

<html>
<body>
<h1>Example 6</h1>
Take me to <a href=”example6.html” target=”_blank” >a new window</a>
</body>
</html>

Example 6 (opens in a new browser window :-)

More info on the TARGET attribute

Share this:
Share this page via Email Share this page via Stumble Upon Share this page via Digg this Share this page via Facebook Share this page via Twitter

Leave a Comment