The problem: I'm writing few lines of html and css in Brackets.
And Brackets previews the page in a new window of Google Chrome in localhost. i.e.
This page fails to show the background if the image is not in the same folder as of the html file. It worked...