Edit This Code:
See Result »
<
!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
>
<!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:
Privacy Policy