KnowledgeBoat Logo

Computer Applications

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">

HTML Advanced Features

1 Like

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.

Answered By

1 Like


Related Questions