Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

How to Set a Background Image in HTML?

make money online
letsplay Offline referral

Posts: 274
Joined: Jul 2013
Reputation: 1

Senior Member
I have noticed many websites have Background Image instead of color I would like to know how to make my page background show image and not color? Is color background better than image background from the performance point of view?
invisibe_dude Offline referral

Posts: 825
Joined: May 2013
Reputation: 24

Posting Freak
Add this code you your css stylesheet.

body {

Add background-repeat:repeat-x; to repeat image horizontally!
Add background-repeat:repeat-y; to repeat image vertical!
Add background-repeat: no-repeat; will prevent reaping image or background-repeat: repeat; to repeat it!
destroyer Offline referral

Posts: 429
Joined: Jul 2013
Reputation: 3

Senior Member
Quote:Is color background better than image background from the performance point of view?

I think image background will increase your site load time but if you use small texture image with the background-repeat option for your background then I think your load time will not get affected too much. Don't forget to set leverage browser caching to decrease your site load time Wink
damponting44 Offline referral

Posts: 536
Joined: Oct 2016
Reputation: 0

Senior Member
Select and duplicate the HTML code underneath, and after that glue it into your open index.html document. Include the foundation picture URL. In the index.html document, discover the line foundation picture: url(" ");. Move the cursor between the enclosures, and after that sort the foundation picture record name.

Google this topic

User(s) browsing this thread: 1 Guest(s)