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...
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
-
<body background="path/to/myimage.extension">
or in CSS :
<body style="background-image:url('http://path/to/myimage.extension');">-
-
-
-
-
<!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>
-