HTML horrors



Am I a HTML horror or what!
blah
meh

HTML is a den of horrors. One of the ugly ones is called the Radio Button. If you did not intend to set a radio box choice and set it by mistake, you cannot unset it easily. Why the heck is a radio box so snotty and unforgiving? Sheesh.

More like this

Why are you misusing radio buttons? You want to be able to uncheck as opposed to select something else, use check boxes.

I'm no HTML programmer, but this one seems pretty simple ...

By Scott Belyea (not verified) on 05 Sep 2007 #permalink

This is why good HTML programmers will always set a third option for "None" or "N/A" and make it the default. Also, checkboxes are good; but checkboxes allow the user to choose more than one option at a time, something you may not want.

Personally, I prefer to set fire to HTML forms, although radio buttons smell kind of funny when they burn.

There's a Greasemonkey script that makes radio buttons uncheckable: http://userscripts.org/scripts/show/6540. Of course, you might need Firefox and the Greasemonkey extension (or add-on, as extensions seem to be called these days).

By brtkrbzhnv (not verified) on 07 Sep 2007 #permalink