Bonjour, j'ai actuellement crée un site, et, mon background étant noir, je voudrais inserer un bouton enfin, plusieurs bouton qui permettrais de choisir son background du site web.
Un grand merci
Cordialement. Alberto.
--
Spécialise toi, tu te surpasseras !
1 réponse
Votes
Date
Date décroissante
L0ci
Bonjour,
tu peux utiliser ce code pour ton bouton:
<input type="button" onclick="document.body.bgColor='lavender';"
value="Change background color" />
Bien entendu il faut adapter la couleur et la valeur du bouton selon tes besoins.