I think that you were not completely mistaken.
But it is better to use the body instead of html.
Explanation why use the body
This allows you to use overlay on top of the body tag. Like a mesh background on the body and a shadow on the side. But both are correct. Depending on what you are trying to do from.
If you do not repeat your background, there is a chance that your image will not use the whole page, and then you should use the html tag. But in this case, because of this, the same solution is repeated.
SO replay : tnx to attronics
Explanation of your "mistake"
If your images are located in a folder other than your html page (this should be so). You should use ..
as a relative path to your css file.
Without ..
this would mean that you are going to search for this image in the same folder as your html page.
body{ background-image:url(../images/background-grid.jpg); background-repeat:repeat; }
Here is a site that gives CSS Basics . Did not check the source though.
source share