<!DOCTYPE html> <html lang = "en-US"> <head> <meta charset = "UTF-8"> <title>backgroundColor</title> </head> <body> <h1>Click a button to change the Color</h1> <form action = ""> <fieldset> <input type = "button" value = "blue" onclick = "document.body.style.backgroundColor = 'blue'" /> <input type = "button" value = "white" onclick = "document.body.style.backgroundColor = 'white'" /> <input type = "button" value = "Orange" onclick = "document.body.style.backgroundColor = 'orange'" /> </fieldset> </form> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)