HTML CSS examples for CSS Widget:Button
Changing the background color of html buttons forward and backward after clicks
<html> <head></head> <body> <input class="choice" onclick="this.style.background==='red' ? this.style.background = 'blue' : this.style.background = 'red'" style="background:red;" type="submit" value="V" id="0"> </body><!-- w w w . j ava2 s. co m--> </html>