background-repeat: no-repeat का उपयोग
बैकग्राउंड इमेज को केवल एक बार दिखाने और रिपीट होने से रोकने के लिए background-repeat: no-repeat; प्रॉपर्टी का उपयोग किया जाता है।
उदाहरण
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-image: url("https://www.tutorialspoint.com/videotutorials/images/tutor_connect_home.jpg");
background-repeat: no-repeat;
}
</style>
</head>
<body>
<h1>Background Image</h1>
</body>
</html>
अतिरिक्त जानकारी: आप background-position प्रॉपर्टी का उपयोग करके इमेज की स्थिति (जैसे center, top right, आदि) भी सेट कर सकते हैं।