CSS3 target-newProperty


Example

Open a new tab in a new window:

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


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

No mainstream browser supports the target-new attribute.


Attribute definition and usage instructions

The target-new attribute specifies whether a new target link should open in a new window, or in a new tab within an existing window.

Note:The target-new attribute is used only after the target-name attribute 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.
other extensions