HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML <link> target Attribute

HTML link Tag Reference HTML <link> tag

Example

In the following example, the linked document is loaded in a new window:

<head>
<link rel="parent" href="wildcats.htm" target="_blank">
</head>


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

Note: The target attribute is not supported in any of the major browsers.


Definition and Usage

The <link> target attribute is not supported in HTML5.

The target attribute specifies a window or a frame where the linked document is loaded.


Syntax

<link target="_blank|_self|_parent|_top|framename">

Attribute Values

Value Description
_blank Load in a new window
_self Load in the same frame as it was clicked
_parent Load in the parent frameset
_top Load in the full body of the window
framename Load in a named frame


HTML link Tag Reference HTML <link> tag

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE