What is the official HTML code for a background that is an image?
No, you can't have my screenname. I'm guessing that skinny, short, smart auburn cheerleaders are attractive? Tell that to my crush!
Public Comments
- You would use something such as the following: <body background="image.jpg">
- Search yahoo for "HTML background image" Check out: http://www.codeave.com/html/code.asp?u_log=5033 http://www.w3schools.com/html/html_backgrounds.asp
- <body background="bgpic.jpg> Sometimes the user may disable the images in his browser. If you have a dark background image and had kept the font size to be something like white, if the background image doesn't load, then the user wont be able to see ur text. To avoid it, u may write something like <body background="drkrainbow.gif" bgcolor="black"> so that if the user had disabled the images, the bgcolor u specified will be the background. Thereby u are on the safe side.
- If your actually going to host the website then try: imageshack.us and upload your photo then use e.g: <body background="http://img42.imageshack.us /img42/8814/ wallpaper21024x7683nj.jpg"> I have tried uploading it just normally but if I host it it never actually loads T_T
- You would insert this in the <head> section of your page: <body background="Image URL Here.jpg">
Powered by Yahoo! Answers