हिंदी

i. Which HTML tag is used for inserting an image on a webpage. ii. Rahul wants to display an image 'logo.jpg' on a webpage. Write the HTML command he should use to insert the image.

Advertisements

प्रश्न

  1. Which HTML tag is used for inserting an image on a webpage.
  2. Rahul wants to display an image 'logo.jpg' on a webpage. Write the HTML command he should use to insert the image.
  3. On the same webpage, Rahul wants to create a link to another webpage ‘aboutus.html’ when the image is clicked. Write the HTML command he should use.
  4. Explain the use of the “alt” attribute in the HTML image tag.
कोड लेखन
Advertisements

उत्तर

  1. <img> tag
  2. <img src="logo.jpg" alt="Logo">
  3. <a href="aboutus.html">
    <img src="logo.jpg" alt="Logo">
    </a>
  4. The “alt” attribute provides an alternate text for the image that will be displayed when the image fails to load.
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2025-2026 (March) Board Sample Paper
Advertisements
Share
Notifications



      Forgot password?
Use app×