+ 1

Can anyone tell me how can i use a picture as a background of a webpage in HTML?

21st Dec 2017, 9:00 AM
Harshit Singh
Harshit Singh - avatar
2 Answers
+ 10
<body style="background-image: url("pic.png");">
21st Dec 2017, 9:05 AM
chris
chris - avatar
+ 1
or body: {background: url('urlofpicture');} in css
21st Dec 2017, 9:07 AM
BodyaBuilder
BodyaBuilder - avatar