+ 1
Is there any mistake in this code?
It doesn't work. <DOCTYPE html> <html> <head> <title>image page</title> </head> <style> body{ backgroubd-image:url("https://websitesetup.org/wp-content/uploads/2015/02/WP-homepage.png"); background-color:gray; } </style> <body> </body> </html>
7 ответов
+ 5
style should be inside the head tag
doctype should have an exclamation mark in front of it
typo in the body property, should be background-image
+ 4
inside html tag there can be only 2 main tags - head and body and nothing else. So the style element must be inside head or body and not direct child of html tag. This is the same as @Cheeze
+ 2
You missed ! symbol in the doctype tag
this is correct
<!DOCTYPE html>
+ 2
if its the same why do u even bother repeating after me
0
style tag inside the head tag.
0
The problem is the image not showing up ;(
0
This contains the correcttions needed https://code.sololearn.com/WYDVr0YfFAES/?ref=app