target-new property CSS Reference



Definition and Usage

The target-new property specifies whether new destination links should open in a new window or in a new tab of an existing window.

Note: The target-new property only works if the target-name property creates a new tab or a new window.

Default value:window
Inherited:no
Version:CSS3
JavaScript syntax: object.style.targetNew="tab"

Syntax

target-new: window|tab|none;

Values

ValueDescription
windowOpen link in new window
tabOpen link in a new tab of an existing window
noneNo new destination is created

Examples

a {
target-name:new;
target-new:tab;
}

Relative articles