Edit This Code:
<!DOCTYPE html>
<html>
<head>
<style>body {
    background-image: url("gradient_bg.png");
    background-repeat: repeat-x;
}

</style>
</head>
<body>

<h1>Hello World!</h1>
<p>Here, a backgound image is repeated only horizontally!</p>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy