La propriété CSS background-image permet de mettre une image en arrière plan des balises sur lesquelles elle est appliquée.
body {
background-image: url('lien/vers/mon/image');
}
Elle permet de mettre une image dont le lien est donné en paramètre en arrière plan.
Exemple
CSS
#background-image-wood {
background-image:url(http://www.web-petit.com/wp-content/uploads/wood.jpg);
}
HTML
<p id="background-image-wood"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. </p>
Rendu
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.