Latest

recent

HTML Link target attribute

Example

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

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.

Syntax

<link target="value" />

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 target attribute Reviewed by 1000sourcecodes on 02:21 Rating: 5
Powered by Blogger.