HTML
|
JavaScript
Alignment
Basics
Character Codes
Colors
CSS
DIVS
Forms
Frames
Links
Lists and Bullets
Meta Tags
Multimedia
Pictures
Spacing
Tables
Text
Image Map Links
Internal Links
Local Links
Picture Links
Target Page
Text Links
Target Page
258
Target Page
Description
This allows you to have a link which opens a new window when clicked on. The tag for the link looks like TARGET="name". This adds on to the normal link tag, so the final result looks like <A HREF="url" TARGET="name">. The text, name, can be replaced with anything you want, which will be the name of the window that opens up. Choosing the same name for two links allows you to have both these links open in the same new window.
Code
<A HREF="http://www.activejump.com" TARGET="_blank">
Go To Home Page In New Browser Window
</A>
Output
Go To Home Page In New Browser Window
Practice
<A HREF="http://www.activejump.com" TARGET="_blank"> Go To Home Page In New Browser Window </A>
Advertisements