Computer Science, asked by Nomitasharmaji94, 4 months ago

why is it a good prectice to always specify the widht and height of the image.​

Answers

Answered by itzcrazypie12
2

Typically, it's good practice to set images with a max-width of 100%. Setting exact heights and widths to your images could cause undesired presentation issues. It is better to provide percentages with width and height. This allows the browser to dynamically adjust the image size to respond to available space.

Answered by Anonymous
0

Answer:

Yes it is good practice to specify the width and height of the image.

This is because it makes it more clear to the reader.

Hope it helps

Similar questions