Codesupplier.com

free html codes for your website

Select Background Colour

Select a Background Colour:

This simple html code constructed with forms makes it easy for a user to change the background colour to suit there own style. All the user has to do is select which colour they would like by clicking on one of the forms.

See above for a preview! Try changing Codesupplier's background colour.

If you think that this code will suit your website simply copy and paste the below HTML Code into your websites editor. You can change the parts in red to suit your own needs.

<FORM name=changeColor>
<P><FONT size=2 face="Verdana,Arial,Helvetica,Sans Serif">Select a Background Colour: <BR><BR><INPUT onclick="document.bgColor='#0000FF'" value=" Blue " type=button name=colr> <INPUT onclick="document.bgColor='#FF0000'" value=" Red " type=button name=colr> <INPUT onclick="document.bgColor='#00FF00'" value=" Green " type=button name=colr> <INPUT onclick="document.bgColor='#FFFFFF'" value=" White " type=button name=colr> <INPUT onclick="document.bgColor='#000000'" value=" Black " type=button name=colr></FONT>

< Go Back to Form List