CSS3 target-name attribute
Examples
Open all hyperlinks in a new window:
a
{
target-name:new;
}
{
target-name:new;
}
Browser Support
Any major browsers do not support target-name attribute.
Attribute definitions and instructions
target-name attribute specifies the hyperlink to open (the target position).
Defaults: | current |
---|---|
inherit: | no |
version: | CSS3 |
JavaScript syntax: | object .style.targetName = "new" |
grammar
target-name: current|root|parent|new|modal|name;
value | description |
---|---|
current | Open hyperlinks in the frame where the link, tab or window. |
root | In the tab or window hyperlinks current. |
parent | Open hyperlinks in the parent frame. If the current frame has no parent frame, the value is treated as root. |
new | Create a new destination (see target The-new new ). |
modal | Open a new window in a new modal window (temporarily created) in. |
name | Open link in an existing frame, window or tab. If the destination name does not exist, create a new destination with this name. |