Computer Applications
Why is it important to specify width and height attribute in <IMG>
tag?
- To ensure that the image is not copied.
- The image will not render without these.
- To stop the image from loading.
- Helps the browser to load the web page faster.
HTML Advanced Features
2 Likes
Answer
Helps the browser to load the web page faster.
Reason — It is important to specify width and height attribute in <IMG>
tag so that the browser can reserve the space for the images when the page is loaded.
Answered By
1 Like
Related Questions
Combining two or more cells either column-wise or row-wise in a table is called …………… .
- Merging
- Spanning
- Combining
- None of these
The two common attributes of the
<IMG>
and the<TABLE>
tags are …………… .- SRC and HEIGHT
- HEIGHT and WIDTH
- BORDER and SRC
- They do not have any common attributes
Which command should we use to link a page with an HTML page?
<A Link= "page.htm"> </a>
<A Href = "page.htm">page</a>
<A Connect= "page.htm"></a>
<A Attach="page.htm" > </a>
Which attribute(s) is/are used to merge rows?
- Rowspan
- Colspan
- Both 1 and 2
- None of these