Treat HTML images more like blocks without using a div by using the height, object-fit, and width properties.