The background-repeat property is used in CSS and certain HTML elements. It specifies whether the background image is repeated (tiled), and how.
Values
repeat- The image is repeated both horizontally and vertically.repeat-x- The image is repeated horizontally only.repeat-y- The image is repeated vertically only.no-repeat- The image is not repeated; only one copy of the image is drawn.
HTML example:
<span style="background-image:url('http://images4.wikia.nocookie.net/__cb20100613222942/htmlcss/images/b/bc/Wiki.png'); background-repeat:repeat-x;">
ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ
</span>
CSS example:
body {
background-image:url("http://images4.wikia.nocookie.net/__cb20100613222942/htmlcss/images/b/bc/Wiki.png");
background-repeat:repeat-x;
}