HTML code to insert a background image

Solved
Bonjour,

I am currently creating a newsletter for a company. I need to know the HTML codes to set an image from the internet (transparent) as a background. Thank you very much for your help; it's quite urgent actually...
Configuration: Windows XP Firefox 2.0.0.14

1 answer

  1. <body background="path/to/myimage.extension">


    or in CSS :

    <body style="background-image:url('http://path/to/myimage.extension');">
    1. Thank you for your reply!! It's all good =)
    2. doesn't work and apparently no one knows how to do it
    3. gg you simply need to do (if you understand)
      <body background="images/myimage.png">

      replace images with the file where you want your image and replace myimage.png with the name of your image
    4. Could you copy the program with your own image, please, because I'm having trouble doing it?
    5. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
      <title>title</title>

      </head>
      <body background="images/Site Home.jpg";> /* the background image that needs to be added to the webcontent new folder (here called images) and then paste your image inside */

      <span class="boite"><a href="Clients.html">Clients</a></span>
      /* this is a hyperlink text */

      </body>
      </html>