Home
CSS
CSS Backgrounds
Background Image
Tryit: Background image for paragraph
Run ❯
Get your
own
website
Result Size:
625 x 534
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <head> <style> p { background-image: url("paper.gif"); } </style> </head> <body> <h1>Hello World!</h1> <p>This paragraph has an image as the background!</p> </body> </html>