Search w3schools.com:

SHARE THIS PAGE

CSS Reference

CSS Reference CSS Selectors CSS Reference Aural CSS Web Safe Fonts CSS Units CSS Colors CSS Color Values CSS Color Names CSS Color HEX CSS3 Browser Support

CSS Properties

CSS3 target-new Property


Example

Open new windows in new tabs instead of new windows:

a
{
target-name:new;
target-new:tab;
}


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The target-new property is not supported in any of the major browsers.


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;

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



Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]