target एट्रिब्यूट के मान
<a> टैग का target एट्रिब्यूट तय करता है कि लिंक कहां खुलेगा:
| मान | विवरण |
|---|---|
_blank | नए टैब/विंडो में खोलें |
_self | वर्तमान टैब में खोलें (डिफ़ॉल्ट) |
_parent | पेरेंट फ्रेम में खोलें |
_top | सबसे ऊपरी फ्रेम में खोलें |
उदाहरण: नए टैब में खोलें
<!DOCTYPE html> <html>
<head> <title>HTML link target</title> </head>
<body>
<h2>References</h2>
<p>Refer the following <a href="https://www.qries.com/questions.php" target="_blank">website</a>. The above link will open in a new tab.</p>
</body>
</html>