Hello! The background-image property does not work in the css file. The file is located in the css folder. css / style.css
body { background-image: url(img/a.png); }
index.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>New Page</title> <link href="css/style.css" rel="stylesheet" /> </head> <body> </body> </html>
But in the html file itself, the background-image property works.
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>New Page</title> <style> body { background-image: url(img/a.png); } </style> </head> <body> </body> </html>
Tell me why it does not work if I place in the css file?