CSS3 target-name property
Example
Open all hyperlinks in a new window:
a
{
target-name:new;
}
Browser support





No major browser supports the target-name property.
Property definition and usage
The target-name property specifies where the hyperlink is to be opened (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 | Open the hyperlink in the frame, tab, or window where the link is located. |
| root | Open the hyperlink in the current tab or window. |
| parent | Open the hyperlink in the parent frame. If the current frame has no parent, the value is treated as root. |
| new | Create a new destination (see target-new). |
| modal | Open a new window in a new (temporarily created) modal window. |
| name |
Open the link in an existing frame, window, or tab. If the name destination does not exist, create a new destination with that name. |