HTML <आधार> लक्ष्य विशेषता
उदाहरण
किसी पृष्ठ पर सभी हाइपरलिंक्स और प्रपत्रों के लिए एक डिफ़ॉल्ट लक्ष्य निर्दिष्ट करें:
<head>
<base target="_blank">
</head>
परिभाषा और उपयोग
विशेषता पृष्ठ में सभी हाइपरलिंक्स और प्रपत्रों के target
लिए डिफ़ॉल्ट लक्ष्य निर्दिष्ट करती है।
target
प्रत्येक हाइपरलिंक/फॉर्म के लिए विशेषता का उपयोग करके इस विशेषता को ओवरराइड किया जा सकता है ।
ब्राउज़र समर्थन
Attribute | |||||
---|---|---|---|---|---|
target | Yes | Yes | Yes | Yes | Yes |
वाक्य - विन्यास
<base target="_blank|_self|_parent|_top">
गुण मान
Value | Description |
---|---|
_blank | Opens the link in a new window or tab |
_self | Default. Opens the link in the same frame as it was clicked |
_parent | Opens the link in the parent frame |
_top | Opens the link in the full body of the window |
❮ HTML <आधार> टैग