Computer Applications
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>
HTML Advanced Features
1 Like
Answer
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.
Answered By
3 Likes
Related Questions
The correct HTML code for inserting an image is :
<img href ="image.gif">
<img>
image.gif</gif>
<image src = "image.gif">
<img src = "image.gif">
Which will let text wrap down the side of the image?
<img src="myImage.gif" align="wrap">
<img src="myImage.gif" align="right">
<img src="myImage.gif" wrap="on">
The correct HTML code to display (P + Q)2 is:
<SUB>
( P+) 2</SUB>
- P+Q
<SUP>
2</SUP>
- (P + Q)
<SUP>
2</SUP>
<SUP>
(P+Q) 2</SUP>
The < …………… > tag displays text in subscript form.
- sub
- sup
- sups
- subs