Hey guys can someone tell me how to put a background image on my website. I need to upload it? Can you give me html code and instructions what to do.
You can use <body background="IMAGE URL">. More about it you can read here: http://www.w3schools.com/TAGS/att_body_background.asp
You can do that or you can assign it to a CSS class. .backgroundClass { background:url("images/yourImage.jpg") no-repeat; height:40px; width:90px; } Code (markup):
This is the best of all the provided answers. When coding background images never use html. It is old and was not designed to make things look pretty. Look into using CSS to apply a background. If you do not understand CSS perhapd goto w3schools and read up on it w3schools can be found on google. Good luck with your site!
Do not use <body style> or <body background>. Use something like thisin CSS: body{background:url('/images/background.png') no-repeat;}