HTML Backgrounds

HTML Backgrounds gives us a way to set background image for HTML elements like – HTML Table.

We can set various type of background like solid color, transparent background, gradient etc.HTML Backgrounds grow or shrink dynamically as the HTML element grows or shrinks.



Repeating Background

Sometimes when we use a image for the background we get into trouble when HTML element’s height or width grows comparatively to the background image. In this case we can repeat the background image in X or Y direction.