|
|
|
To avoid the background image from repeating itself, set the |
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-image: url('https://itupto.com/avatar.png');
background-repeat: no-repeat;
}
</style>
</head>
<body>
<h2>Background No Repeat</h2>
<p>You can avoid the image from being repeated by setting the background-repeat property to "no-repeat".</p>
</body>
</html>
Category: | Web Tutorial |
Sub Category: | HTML Background Images |
Uploaded by: | Admin |
Read Articlehttps://develop.horje.com/learn/1434/reference