HTML <a> लक्ष्य विशेषता
उदाहरण
लक्ष्य विशेषता निर्दिष्ट करती है कि लिंक किए गए दस्तावेज़ को कहाँ खोलना है:
<a href="https://www.w3schools.com" target="_blank">Visit W3Schools</a>
परिभाषा और उपयोग
विशेषता निर्दिष्ट करती है कि target
लिंक किए गए दस्तावेज़ को कहाँ खोलना है।
ब्राउज़र समर्थन
Attribute | |||||
---|---|---|---|---|---|
target | Yes | Yes | Yes | Yes | Yes |
वाक्य - विन्यास
<a target="_blank|_self|_parent|_top|framename">
गुण मान
Value | Description |
---|---|
_blank | Opens the linked document in a new window or tab |
_self | Opens the linked document in the same frame as it was clicked (this is default) |
_parent | Opens the linked document in the parent frame |
_top | Opens the linked document in the full body of the window |
framename | Opens the linked document in the named iframe |
❮ HTML <a> टैग