CSS3 target property

Examples

Open all hyperlinks in a new window, new window and placed above all other tabs / windows:

a
{
target:new front;
}


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Any major browsers do not support the target property.


Attribute definitions and instructions

target property is a shorthand property to set target-name, target-new, and the target-position property.

Defaults: current window above
inherit: no
version: CSS3
JavaScript syntax: object .style.target = "new front"


grammar

target:target-name target-new target-position;

value description
target-name Where the provisions of open hyperlinks (target destination).
target-new Provisions should open the hyperlink in a new window or a new tab in the existing window.
target-position Predetermined place where new destination links.

Note: target-new and target-position value only in target-name value to create a new tab or a new window is valid.