target-new property
Author admin Reading 1 min Views 421 Published by Modified by
Definition and Usage
The target-new property specifies whether new destination links should open in a new window or in a new tab of an existing window.
Note: The target-new property only works if the target-name property creates a new tab or a new window.
| Default value: | window |
| Inherited: | no |
| Version: | CSS3 |
| JavaScript syntax: | object.style.targetNew=”tab” |
Syntax
target-new: window|tab|none;
Values
| Value | Description |
| window | Open link in new window |
| tab | Open link in a new tab of an existing window |
| none | No new destination is created |
Examples