CSS3 target-new property
Example
Open a new tab in a new window:
a
{
target-name:new;
target-new:tab;
}
Browser support





No major browser supports the target-new property.
Property definition and usage
The target-new property specifies whether a new target link should open in a new window or in a new tab of an existing window.
**Note:** The target-new property is used only when 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;
| Value | Description |
|---|---|
| window | Open the hyperlink in a new window. |
| tab | Open the hyperlink in a new tab of an existing window. |
| none | Do not create a new destination. |