HTML | <link> target Attribute (original) (raw)

Last Updated : 13 Dec, 2021

The HTML target Attribute is used to specify the window or a frame where the linked document is loaded. It is not supported by HTML 5.Syntax:

Attribute Values:

Example:

html `

HTML link target Attribute

GeeksforGeeks

    <h2> 
        HTML <link> target Attribute
    </h2> 
    
    <link href="geeksforgeeks.org" target="_blank">
</center> 

`

Output: Supported Browsers: The HTML target attribute is not supported by any browsers.