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

Thread: 

How to Set a Background Image in HTML?

Ads
banner
banner
letsplay Offline referral

Posts: 274
Joined: Jul 2013
Reputation: 1

#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

#2
Posting Freak
Add this code you your css stylesheet.

Code:
body {
background-image:url('image.extention');
}

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: 430
Joined: Jul 2013
Reputation: 3

#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: 398
Joined: Oct 2016
Reputation: 0

#4
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.





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