JavaScript » Link » target

Syntax:
object.target

The target property is a string specifying the window that displays the contents of a clicked hyperlink.

The target property is a string specifying the name of the window or frame that displays the contents of a clicked hyperlink. If you provide a name that does not exist, a new window will be opened. By default this is the target attribute of the <A> or <AREA> tags, but you can override it by setting the target property. You can do this at any time, but you cannot assign the value of a JavaScript expression or variable.