CSS3 target-new property
Examples
Open a new tab in a new window:
a
{
target-name:new;
target-new:tab;
}
{
target-name:new;
target-new:tab;
}
Browser Support
Any major browsers do not support target-new property.
Attribute definitions and instructions
target-new attribute that specifies whether the new target link should open a new window, or open a new tab in an existing window.
Note: Only when the target-name property to create a new tab or a new window after using target-new property.
Defaults: | window |
---|---|
inherit: | no |
version: | CSS3 |
JavaScript syntax: | object .style.targetNew = "tab" |
grammar
target-new: window|tab|none;
value | description |
---|---|
window | Hyperlinks open in a new window. |
tab | Open hyperlinks in a new tab in the existing window. |
none | Does not create a new destination. |