HTML Link target attribute


In the following example, the linked document is loaded in a new window:
<link rel="parent" href="wildcats.htm" target="_blank" />

Definition and Usage

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

Browser Support

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


<link target="value" />

Attribute Values

Value Description
_blank Load in a new window
_self Load in the same frame as it was clicked
Load in the parent frameset
_top Load in the full body of the window
framename Load in a named frame
HTML Link target attribute Reviewed by 1000sourcecodes on 02:21 Rating: 5
Powered by Blogger.