Filter (Advanced Search)
Downloads
0
Views
327
Video

Video is not available... Embedded is previous playlist.

Details

By default, the linked page will be displayed in the current browser window. To change this, you must specify another target for the link.

The target attribute specifies where to open the linked document.

 


<!DOCTYPE html>
<html>
<head>
<title>The target Attribute</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<h1>The target Attribute</h1>

<p><a href="https://gssskhokhar.com/" target="_self">_self Target</a></p>
<p><a href="https://gssskhokhar.com/" target="_blank">_blank Target</a></p>
<p><a href="https://gssskhokhar.com/" target="_parent">_parent Target</a></p>
<p><a href="https://gssskhokhar.com/" target="_top">_top Target</a></p>

</body>
</html>



The target attribute can have one of the following values:

  • _self - Default. Opens the document in the same window/tab as it was clicked
  • _blank - Opens the document in a new window or tab
  • _parent - Opens the document in the parent frame
  • _top - Opens the document in the full body of the window
Ad