Fill in the blanks to set the image size to be250 pixels wide and 400 pixels tall. | Shaalaa.com" /> Fill in the blanks to set the image size to be250 pixels wide and 400 pixels tall. " /> Fill in the blanks to set the image size to be250 pixels wide and 400 pixels tall." />
English

Consider the following code: <img src ="Computers.jpg" width ="__ “height ="__ "> Fill in the blanks to set the image size to be250 pixels wide and 400 pixels tall.

Advertisements
Advertisements

Question

Consider the following code: 

<img src ="Computers.jpg" width ="__ “height ="__ ">

Fill in the blanks to set the image size to be250 pixels wide and 400 pixels tall.

Options

  • 250, 400

  • 400, 250

  • <250><400>

  • <400><250>

MCQ
Advertisements

Solution

250, 400

Explanation:

The width attribute sets the width of the image and the height attribute sets its height. Therefore, the values are 250 and 400 respectively.

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 16. | Page 174
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×