Lara Ballard 1 Question 2 Answers 0 Best Answers 25 Points View Profile 1 Lara Ballard Asked: March 5, 20212021-03-05T21:31:16+01:00 2021-03-05T21:31:16+01:00In: Programs How do I use CSS to add a background picture in a HTML page? 1 I’m having difficulty adding a picture to my HTML background page. How do I go about it please? Share Facebook 2 Answers Voted Oldest Recent Jamey Rico 0 Questions 5 Answers 1 Best Answer 102 Points View Profile Jamey Rico New You 2021-03-08T10:24:45+01:00Added an answer on March 8, 2021 at 10:24 am You can do that in any of the two ways below; First, start an http server and replace the link with the one you get from the local server. Typically something like localhost/images/image.png 2. Use file:/// To add a picture to your background page; Basically right click to open a file in the browser, copy the link in the address bar and try to use that as the URL in a background image. 0 Reply Share Share Share on Facebook Share on Twitter Share on LinkedIn Share on WhatsApp Glen Dayton 0 Questions 4 Answers 0 Best Answers 28 Points View Profile Glen Dayton 2021-03-09T12:38:04+01:00Added an answer on March 9, 2021 at 12:38 pm First, you should always make sure that your html page and images should be in the same folder. That is easy process to link pc images to html pages. Just give the image name(eg:- sun) and extension(eg : – .jpg, .png, .gif) in image tag. —If your html folder and image folder location is changed then you will give the full pc location. Suppose that your image location is in images folder of d: drive and your html is in desktop or anywhere in the pc: Then your img tag should look like this. 0 Reply Share Share Share on Facebook Share on Twitter Share on LinkedIn Share on WhatsApp Leave an answerLeave an answerCancel reply Attachment Select file Browse Featured image Select file Browse Save my name, email, and website in this browser for the next time I comment.