CBSE Class 10 Computer Applications
Question 24 of 125
HTML II — Images, Links and Tables — Question 15
Back to all questions 15
Question Question 15
Consider the following code :
<img src ="Computers.jpg" width ="...." height ="....">
Fill in the blanks to set the image size to be 250 pixels wide and 400 pixels tall.
- 250, 400
- 400, 250
- <250><400>
- <400><250>
250, 400
Reason — The 'height' and 'width' attribute of <IMG> tag tell the browser to reserve space before actually downloading an image.
<img src ="Computers.jpg" width ="250" height ="400">
The above command tells the browser to reserve the image place with a width of 250 pixels and a height of 400 pixels.