how to upload background pic on wedsite | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to upload background pic on wedsite

9th Jun 2016, 6:42 PM
manu srivastav
2 Answers
+ 1
To upload files to the website server you should use an FTP program (to transfer the files). To use the uploaded files as background in the page, you should use CSS styling. After this course, install the CSS course.
9th Jun 2016, 8:37 PM
Alexandre Palma
Alexandre Palma - avatar
0
Where is your website? If it's on a server (on the Internet), you would use the same method as when you uploaded your other files. If your files are on your computer, either put the background image in the same folder or create one inside that folder where your html files are and call it 'images'. In your html code add this style between <head> and </head>: body { background: url(image-name.jpg) no-repeat 0 0; } if the image is in 'images' folder: body { background: url(images/image-name.jpg) no-repeat 0 0; } Change image-name to your actual image. There are many different options on how the background image is shown. You'll learn about that in the CSS course.
9th Jun 2016, 10:29 PM
ZinC
ZinC - avatar