+ 1

how to add background image?

25th Nov 2016, 8:03 PM
sunny
6 Answers
+ 3
You can only do that in css.
26th Nov 2016, 5:17 AM
RedBlazerFlame [Less Active for a while]
RedBlazerFlame [Less Active for a while] - avatar
+ 2
example with url (in the CSS file): #image { background-image: url(http://www.image.com/image.png); }
25th Nov 2016, 8:21 PM
Die Minecrafter LP
Die Minecrafter LP - avatar
+ 2
you can use CSS background-image property. for example: body { background-image: url("donut.png"); } remember to put the image in the same folder as your css/html file.
26th Nov 2016, 8:47 AM
Innas
Innas - avatar
+ 2
<img src="source here">
5th Mar 2019, 1:58 PM
RedBlazerFlame [Less Active for a while]
RedBlazerFlame [Less Active for a while] - avatar
+ 1
Case 1: If it is on an entire page, you will write, inside the <body> tag as thus: <body background="image/image.png"> Case 2: If it is for table, i.e table background: <table background="image/image.png"> And don't forget to close any of the tags
25th Nov 2016, 9:56 PM
Sol
Sol - avatar
0
but there is also something to notice. NOT ALL PICTURES HAVE AS EXTENSION (png) so try to check the property of the picture first if not it might not execute
3rd Jul 2019, 8:24 AM
Simon Pierre NIKEU KEJEUTE
Simon Pierre NIKEU KEJEUTE - avatar