CBSE Class 10 Computer Applications
Question 36 of 125
HTML II — Images, Links and Tables — Question 27
Back to all questions 27
Question Question 27
Why is it important to specify an image width and height in an <img> tag ?
- It ensures that a user will not be able to copy the image to their computer.
- The image will not render if these attributes are left out.
- These attributes constrain the image's proportions.
- Specifying these dimensions helps a browser render pages faster.
Specifying these dimensions helps a browser render pages faster.
Reason — Specifying the width and height of the image enables the browser to reserve space before actually downloading the image, speeding document rendering and eliminating the content shifting.