मराठी

Why is it important to specify an image width and height in an tag?

Advertisements
Advertisements

प्रश्न

Why is it important to specify an image width and height in an 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.

MCQ
Advertisements

उत्तर

Specifying these dimensions helps a browser render pages faster.

Explanation:

When width and height are specified, the browser knows how much space to reserve for the image. This helps the page to be displayed more quickly and smoothly.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 4: HTML- II: Images, Links and Tables - Assisted Practice [पृष्ठ १७५]

APPEARS IN

सुमिता अरोरा Computer Applications [English] Class 10
पाठ 4 HTML- II: Images, Links and Tables
Assisted Practice | Q 28. | पृष्ठ १७५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×