अवलोकन
target प्रॉपर्टी लिंक के target एट्रिब्यूट का मान लौटाती है (कहाँ खोलना है)।
उदाहरण
<!DOCTYPE html> <html> <body> <p><a id = "qriesid" target="_self" href = "https://qries.com/" type = "text/html" >Qries</a></p> <script> var x = document.getElementById("qriesid").target; document.write("Value of the target attribute: "+x); </script> </body> </html>