HTML Link Attributes in Hindi

Search Posts
1679686582-Default_image_for_courses.jpg

HTML Link Attributes in Hindi


HTML Links Attributes in Hindi – जैसा कि पिछले अध्याय में हमने जाना कि HTML में links क्या होती हैं और कैसे किसी text, image और button पर link बनाई जाती है। HTML Links Attributes in Hindi इस अध्याय में हम जानेंगे कि कैसे किसी link में उसके attributes का यूज किया जाता है और ये attributes कितने प्रकार के होते हैं।

HTML Link के Attributes

Href attribute
Target Attribute
Title Attribute

HTML link Href attribute in hindi

HTML links में सबसे महत्वपूर्ण attribute href है इसका पूरा नाम hypertext reference है इसी की मदद से हम किसी link पर पहुँचते हैं। इस attribute के अन्दर हम निम्न link दे सकते हैं -

• किसी website की link (Absolute URLs) • किसी website के पेज की link (Absolute URLs) • एक ही website के अन्य पेज पर जाने के लिए link (Relative URLs) • एक ही पेज के किसी हिस्से पर जाने के लिए link (Relative URLs) (Link Bookmarks) • ईमेल (email) address की link
नोट – जब किसी website के एक पेज पर उसी website के किसी दूसरे पेज की link दी जाती है तो इसे Relative URLs कहते है और जब link के URL में किसी पेज का full address (https://www.readrife.com) का उपयोग किया जाता है तो इसे Absolute URLs कहते हैं।

HTML href का Syntax –

PHP" method="POST" target="_blank">

Example of HTML Links Tag href Attribute in Hindi


नोट – Link Bookmarks के बारे में विस्तार से अन्य chapters में दिया गया है।

HTML Link Target attribute in hindi

Normally, html link पर क्लिक करने पर web browser की उसी विंडो पर नया पेज खुलता है पर अगर हम चाहें तो इसमें changes कर सकते हैं इसके लिए हम HTML link tag के साथ target attribute का उपयोग कर सकते हैं। Target Attribute की मदद से हम link किए हुए पेज को वेब ब्राउज़र की नई विंडो पर खोल सकते हैं।

HTML Link Target attribute के प्रकार –

_self (लिंक्ड पेज या documents को वेब ब्राउज़र की उसी विंडो या टैब पर खोलने के लिए)
_blank (लिंक्ड पेज या documents को वेब ब्राउज़र की नई विंडो या टैब के backside पर खोलने के लिए)
_parent (लिंक्ड पेज या documents को वेब ब्राउज़र की नई विंडो या टैब के frontside पर खोलने के लिए)
_top (लिंक्ड पेज को या documents वेब ब्राउज़र की full size विंडो पर खोलने के लिए)

HTML Link target attribute का Syntax –

PHP" method="POST" target="_blank">

Example of HTML Links Tag href Attribute in Hindi


HTML Link Title attribute in hindi

HTML link के इस attribute का उपयोग link के title के लिए करते है। अगर किसी link tag के अन्दर title से उस link की इनफार्मेशन देते हैं इसे देखने के लिए जब यूजर किसी link पर माउस के cursor को ले जाता है तो ये title show होता है।

HTML title का Syntax –

PHP" method="POST" target="_blank">

Example of HTML Links Tag title Attribute in Hindi

Author : Read Rife

You May Also Like



Leave a Comment

Please enter your name.
Please enter a valid email.
Please enter your comment.

Comments