+ 2

How to set a background image in html???

20th Sep 2017, 8:21 AM
Sagar Paul
Sagar Paul - avatar
3 Answers
+ 3
if you mean body background then you can use: <body bgcolor="gray"> **For Color and <body background="test.jpg"> **For Image
20th Sep 2017, 8:27 AM
Payam Haddad
Payam Haddad - avatar
+ 2
under css body{ background-image:url("www.totallynotanimage.com); }
20th Sep 2017, 8:45 AM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
0
<body background="imagename.jpg">
20th Sep 2017, 2:02 PM
PradheepvikišŸ˜ŽšŸ˜€
PradheepvikišŸ˜ŽšŸ˜€ - avatar