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?
