मराठी

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. - Computer Applications

Advertisements
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
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×