English

To place the image into HTML file ______ attribute is used in <IMG> tag. - Computer Science 1

Advertisements
Advertisements

Question

To place the image into HTML file ______ attribute is used in <IMG> tag.

Options

  • URL

  • ALT

  • SRC

  • HREF

MCQ
Fill in the Blanks
Advertisements

Solution

To place the image into HTML file SRC attribute is used in <IMG> tag.

Explanation:

The src attribute in the <img> tag specifies the path or URL of the image file to display. The alt attribute gives alternate text when the image cannot be shown, and href is used for links, not for embedding images.

shaalaa.com
  Is there an error in this question or solution?
2025-2026 (March) Official Board Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×