Open all hyperlinks in a new window, and place the new window above all other tabs/windows:
![]()
The target property is not supported in any of the major browsers.
The target property is a shorthand property for setting the target-name, target-new, and target-position properties.
| Default value: | current window above |
|---|---|
| Inherited: | no |
| Version: | CSS3 |
| JavaScript syntax: | object.style.target="new front" |
| Value | Description |
|---|---|
| target-name | Specifies where to open hyperlinks (target destination) |
| target-new | Specifies whether new destination links should open in a new window or in a new tab of an existing window |
| target-position | Specifies where new destination links should be placed |
Note: The target-new and the target-position values only have an
effect if the target-name value creates a new tab or a new window!
Complete CSS Reference
| WEB HOSTING |
|---|
| Best Web Hosting |
| PHP MySQL Hosting |
| Best Hosting Coupons |
| UK Reseller Hosting |
| Cloud Hosting |
| Top Web Hosting |
| $3.98 Unlimited Hosting |
| Premium Website Design |
| WEB BUILDING |
|---|
| XML Editor - Free Trial! |
| FREE Website BUILDER |
| Best Website Templates Top CSS Templates |
| CREATE HTML Websites |
| EASY WEBSITE BUILDER |
| W3SCHOOLS EXAMS |
|---|
|
Get Certified in: HTML, CSS, JavaScript, XML, PHP, and ASP |
| W3SCHOOLS BOOKS |
|---|
|
New Books: HTML, CSS JavaScript, and Ajax |
| STATISTICS |
|---|
|
Browser Statistics Browser OS Browser Display |
| SHARE THIS PAGE |
|---|