What is the advantage of using images instead of real radio inputs
What is Amazon's advantage in using <input type="radio" /> images over actual <input type="radio" /> ? Is this a browser compatible solution?


I have never seen <input type="image"... /> either (second line of code). How can an image be entered?
And I introduced the javascript tag because it is what is used to update its state.
Using an image is intended solely for style matching, as styling input is very difficult to support cross-browser.
In addition, this particular input is not an exact replacement for the switch, but Amazon uses the send image button to collect what the user has selected. Probably, as soon as you click on one of these parameters, the form will be submitted or another function will be launched.