
- Javascript Basics Tutorial
- Javascript - Home
- Javascript - Overview
- Javascript - Syntax
- Javascript - Enabling
- Javascript - Placement
- Javascript - Variables
- Javascript - Operators
- Javascript - If...Else
- Javascript - Switch Case
- Javascript - While Loop
- Javascript - For Loop
- Javascript - For...in
- Javascript - Loop Control
- Javascript - Functions
- Javascript - Events
- Javascript - Cookies
- Javascript - Page Redirect
- Javascript - Dialog Boxes
- Javascript - Void Keyword
- Javascript - Page Printing
- JavaScript Objects
- Javascript - Objects
- Javascript - Number
- Javascript - Boolean
- Javascript - Strings
- Javascript - Arrays
- Javascript - Date
- Javascript - Math
- Javascript - RegExp
- Javascript - HTML DOM
- JavaScript Advanced
- Javascript - Error Handling
- Javascript - Validations
- Javascript - Animation
- Javascript - Multimedia
- Javascript - Debugging
- Javascript - Image Map
- Javascript - Browsers
- JavaScript Useful Resources
- Javascript - Questions And Answers
- Javascript - Quick Guide
- Javascript - Functions
- Javascript - Resources
Repeat the background image with CSS
The background-repeat property is used to control the repetition of an image in the background. You can use no-repeat value for the background-repeat property if you do not want to repeat an image, in this case, the image will display only once:
Example
You can try to run the following code to learn how to work with the background-repeat property:
<html> <head> <style> body { background-image: url("/images/seaborn-4.jpg?v = 2"); background-repeat: repeat; } </style> </head> <body> <p>Tutorials Point</p> </body> </html>
- Related Articles
- Repeat the background image both horizontally and vertically with CSS
- Background Repeat in CSS
- Background Repeat Using CSS
- Specify the background image with CSS
- CSS border-image-repeat
- Set the Background Image Position with CSS
- How to style background image to no repeat with JavaScript DOM?
- Usage of background-repeat property in CSS
- Show the background image only once with CSS
- Set background image as fixed with CSS
- Achieve Responsiveness for background image with CSS
- Set the background image of an element with CSS
- CSS background-image property
- Set a radial gradient as the background image with CSS
- Set a linear gradient as the background image with CSS

Advertisements