Home
HTML
HTML Background Image
Example 1: HTML Background Image
Run ❯❯
<!DOCTYPE html> <html> <head> <title>HTML Body Background Image Example</title> </head> <body style="background-image: url('trees.jpg');"> <h1>HTML Body Background Image Example</h1> <p>Body element has been specified with a background image.</p> </body> </html>