CSS3 target-nameProperty


Example

Open all hyperlinks in a new window:

a
{
target-name:new;
}


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

No mainstream browser supports the target-name property.


Attribute definition and usage instructions

The target-name property specifies where to open a hyperlink (the target location).

Default value: current
Inherited: no
version: CSS3
JavaScript Syntax: object.style.targetName="new"


Syntax

target-name: current|root|parent|new|modal|name;

Value Description
current Opens the hyperlink in the same frame, tab, or window as the link.
root Hyperlink in the current tab or window.
parent Opens the hyperlink in the parent frame. If the current frame has no parent frame, this value is treated as root.
new Create a new destination (seetarget-new)。
modal Opens the new window in a new (temporarily created) modal window.
name

Opens the link in an existing frame, window, or tab.

If the name destination does not exist, a new destination is created with that name.

other extensions