PDA

View Full Version : How do I make a Image as a background on my web pages?



mohanrawat
03-18-2017, 10:08 AM
How do I make a Image as a background on my web pages?

davidweb09
03-29-2017, 10:39 AM
First you have to upload the images on the server & than include the path in the index file.

ORLOVA
03-31-2017, 01:13 PM
If I am not wrong, put this code, it will work for you

<body background ="yourimage.gif" bgproperties="fixed">

Akshay_M
03-20-2023, 03:00 PM
To set the background image of a webpage, use the CSS style. Under the CSS <style> tag, add the property background-image. The property sets a graphic such as jpg, png, svg, gif, etc. HTML5 do not support the <body> background attribute, so CSS is used to change set background image.