What is the html code for a background image?

I'm filling out my about Me page on ebay and want to use a background image. All the hmtl I have tried isn't working :( What code do I need to use to use an image (and for it to repeat itself over the page)?

Public Comments

  1. <body background="images/pic.jpg"> in the body tags images/pic.jpg can be anything for example flower.gif or http://xs.to/pics120/158.png however for layout use css, much better
  2. in css: .background { background-image: url(images/image.jpg); } in a table: <td background="images/image.jpg">
  3. it will be in the java text within the body of the document, good luck havnt a clue what that means
  4. If you're allowed to use css then: <head> <!-- ...other head statements ... --> <style type="text/css"> body { background-image: url("something.jpg"); } /* ...other css statements could go here... */ </style> <!-- ... other head statements... --> </head> <body>
  5. The other option is using inline CSS. <body style="background-image: <theimageurl>"> Where <theimageurl>, is simply the path to the image (whether full, or relative).
  6. Get advice from the experts here:-
Powered by Yahoo! Answers