HTML in Hindi – HTML Link Tag
- Introduction to HTML link in Hindi
- Link tag in HTML Hindi
- Attribute of link tag in HTML Hindi
Introduction to HTML Link
html मे link tag बहुत ही important tag होता है क्योकि link tag के द्वारा css file को html document से link करते है | link tag के द्वारा css file ही नही बल्कि title बार मे icons का use करने के लिए भी किया जाता है link tag के कुछ attribute है | जिनका use करके हम link tag को निर्देश देते है | तो चलिए अब link tag के बारे मे full details से जानते है | कैसे work करता है link tag |
Rel Attribute
इस attribute का use file का type बताने के लिए किया जाता है और जब हम css file include करते है तो rel attribute मे value stylesheet पास करते है |
जब title बार मे icons को include करने के लिए rel attribute का use करते है तो हमे value icon पास करना पड़ता है नही तो हमारा icon load नही होगा |
Type Attribute
जब हम type attribute का use करते है तो css के लिए value “text/css” पास करते है | नही तो हमारा css file successfully include नही होता है |
जब हम icon को include करने के लिए type attribute का use करते है तो हमे value “image/gif” पास करना पड़ता है | यानी image का type बताने के लिए type attribute का use किया जाता है |
Href Attribute
href attribute का use दोनों field मे same होता है | यानि href attribute का use file का address देने के लिए किया जाता है | अब वह css file हो या icon अब निचे दिये गये code देखे |
Size Attribute
इस attribute का use only icon के लिए किया जाता है | कभी कभी icon का size resize करना पड़ता है तो इस condition मे size attribute का use कर सकते है |