CBSE Class 10 Computer Applications Question 71 of 125

HTML II — Images, Links and Tables — Question 12

Back to all questions
12
Question

Question 3(x)

The correct HTML code for inserting an image is :

  1. <img href = "image.gif">
  2. <img> image.gif </img>
  3. <img src = "image.gif">
  4. <image src = "image.gif">
Answer

<img src = "image.gif">

Reason — To insert an image in an HTML document, we use the <IMG> tag along with its attribute SRC which specifies the location or URL of the image.