why is it a good prectice to always specify the widht and height of the image.
Answers
Answered by
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
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