Consider below code :
<body style="background-image:url('clouds.jpg')">
.
.
.
.
.
</body>
I'm not understanding what this url()
does in above code means.
I tried with below code but it didn't work out, it didn't display a background image.
<body style="background-image:clouds.jpg">
.
.
.
.
.
</body>
Someone, please explain me the role of url()
and where it can be used.