: Explicitly stating the dimensions helps ensure the image doesn't appear distorted. For a image, the aspect ratio is approximately
. Keeping this ratio consistent prevents the "stretched" look often seen when only one dimension is specified.
: Setting these attributes allows the browser to calculate the page layout immediately, speeding up the initial rendering process.