You can control the size of an image using the width and height properties in CSS, just like you can for any other box, Specifying image sizes helps pages to load more smoothly because the HTML and CSS code will often load before the images, There are two ways to align images: 1-the float property is added to the class that was created.-The background-image property allows you to place an image behind any HTML element.2-repeat-x:image is repeated horizontally only.