The best CSS3 target-new property Tutorial In 2024, In this tutorial you can learn Examples,Browser Support,Attribute definitions and instructions,grammar,

CSS3 target-new property

Examples

Open a new tab in a new window:

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


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

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.
CSS3 target-new property
10/30