First, we changed background-image to background to consolidate the code.Now that you have your background image working on your HTML5 page, you probably are running into issues with white space on the background and sizing issues when you check your page on a mobile device. The image itself no longer is required to fill 100 of the element. The current versions of most popular browsers now support background-size without the need for vendor prefixes.We will use the following HTML code for all of the examples below. HTML Table Background Image. HTML tables are displayed within a web page to neatly align content. They can contain image backgrounds, colored backgrounds, borders of different sizes, and an unlimited number of rows and columns.Submit your HTML code snippets. html . background: url(model.png) no-repeat background-size: 100px 100px The above CSS code display an image of size 100 100.How to make a full screen background ? Also you can set Full Page Background Image using the following code: body . If you set position: relative on the table, you can set position: absolute on the with top: 0 height: 100 left: 0 width: 100 to position and size the image, and set z-index: -1 to make it appear behind the other content.