Complete the code by changing the size of the background image so it always fits the entire page. Use the attached image for thi | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Complete the code by changing the size of the background image so it always fits the entire page. Use the attached image for thi

<!DOCTYPE html> <html> <head> <style> html { background: url(flower.jpg) no-repeat center center fixed; } body { color: white; } </style> </head> <body> <h1>This is a Heading</h1> <p>This is a paragraph.</p> <p>This is another paragraph.</p> </body> </html>

24th Aug 2022, 11:21 AM
Ayj Olabas
Ayj Olabas - avatar
1 Answer
+ 2
Hi what is this for?
25th Aug 2022, 2:30 AM
Chris Coder
Chris Coder - avatar