Skip to main content

Command Palette

Search for a command to run...

How to insert image in HTML page in hindi

Published
1 min read
How to insert image in HTML page in hindi
A

I am working as freelancer. I am a experienced full stack web developer. My lovely stack is MERN but I am open for new tech. I love to work with teammates for achieve goals. I love researches to find specific new things.

इमेज वेबसाइट में जान ला देता है। अच्छी इमेज ही निर्धारित करती है कि वेबसाइट कितना सुंदर दिखेगी। किसी प्रोडक्ट की फोटो भी यह निर्धारित करती है कि वह प्रोडक्ट कितनी audience हासिल करेगा।

वेव पेज में इमेज डालने के लिए <img> टैग का इस्तेमाल किया जाता है। Html कोडिंग में <img src="" alter="" title="" width="" height=""/> लिखकर इमेज इंसर्ट करायी जाती है। उदाहरण के लिए <img src="koala.jpg" alter="image" title="koala" width="400px" height="300px"/> लिखने पर

browser पर लोड हो जाता है।

Attributes of image tag in html in hindi:

src:

यह इमेज के सोर्स को लिखने के लिए होता है कि इमेज फाइल का पूरा नाम क्या है, जैसे koala.jpg। यह देख लेना चाहिए कि फोटो फाइल Html फाइल के पास ही है।

title:

इमेज के ऊपर कर्सर जाने पर title लिख उठती है। यह इमेज के बारे में जानकारी प्रदान करने के लिए होता है।

alt:

कभी-कभी इमेज फाइल लोड नहीं हो पाती है, ऐसे समय पर alt का text बताता है कि यहां कोई इमेज है, जो लोड नहीं हो पायी है।

width:

यह इमेज फाइल की चौड़ाई को निर्धारित करती है। इसे पिक्सल में लिखा जाता है, जैसे 400px.

height:

इमेज फाइल की ऊंचाई निर्धारित करने के लिए height attribute लिखा जाता है। यह भी पिक्सल में ही लिखा जाता है अथवा % में लिखा जाता है।

Criecket sports whatsapp web google html web development narendra modi