A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/html/html-link-target-attribute/ below:

HTML | <link> target Attribute

HTML | <link> target Attribute

Last Updated : 13 Dec, 2021

The HTML <link> 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:
<link target="_blank|_self|_parent|_top|framename">
Attribute Values: Example: html
<!DOCTYPE html> 
<html>
     
<head>
    <title>
        HTML link target Attribute
    </title>
</head>

<body> 
    <center> 
        <h1 style="color:green;"> 
            GeeksforGeeks 
        </h1> 
        
        <h2> 
            HTML <link> target Attribute
        </h2> 
        
        <link href="geeksforgeeks.org" target="_blank">
    </center> 
</body> 

</html> 
Output: Supported Browsers:

The HTML <link> target attribute is not supported by any browsers.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4