How to apply back ground image in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

How to apply back ground image in html

Please help me

5th Jan 2018, 4:06 PM
Vikram Singh
Vikram Singh - avatar
3 Answers
+ 12
background image attribute is not supported HTML5. Use CSS for it for example body { background-image: url("pattern.gif"); background-color: #ffffff; }
5th Jan 2018, 4:30 PM
⛎Ⓜ️ €⚡♓
+ 11
simple touch of CSS body { background-image: url("img.png"); }
5th Jan 2018, 4:20 PM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar
20th Apr 2019, 1:48 PM
Mr AJX 😎😈
Mr AJX 😎😈 - avatar