English

The correct HTML code for inserting an image is ______.

Advertisements
Advertisements

Question

The correct HTML code for inserting an image is ______.

Options

  • <img href ="image.gif”>

  • <img> image.gif</gif>

  • <image src = “image.gif”>

  • <img src = “image.gif”>

MCQ
Fill in the Blanks
Advertisements

Solution

The correct HTML code for inserting an image is <img src = “image.gif”>.

Explanation:

The <IMG> tag is used to insert an image in a web page. The src attribute gives the name or location of the image file.

shaalaa.com
  Is there an error in this question or solution?
Chapter 4: HTML- II: Images, Links and Tables - Assisted Practice [Page 174]

APPEARS IN

Sumita Arora Computer Applications [English] Class 10
Chapter 4 HTML- II: Images, Links and Tables
Assisted Practice | Q 14. | Page 174
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×