HTML tag label is useful for Radio buttons

Radio Buttons

To click on a Radio button is very boring things to me. A radio button is maximum 15 x 15 pixels. So need extra care to click on Radio buttons.

When I work with Radio buttons in my web applications, I use HTML tag – ‘Label‘.

For example, I have a Radio button like this-

[sourcecode language=”html”]

Click on this Radio button

[/sourcecode]

This Radio button require extra care to click. I write the above code like bellow, so that the visitors can select the Radio button clicking on the text – “Click on this Radio button“.

[sourcecode language=”html”]

[/sourcecode]

Now the visitors can select the Radio button clicking on the text. Enjoy easy clicking on the Radio buttons.

6 thoughts on “HTML tag label is useful for Radio buttons”

  1. I think this is a cool tip. I thought sometimes to let users select radio options through radio buttons by clicking on the text of respective buttons but could not find the way.

Leave a Reply

Your email address will not be published. Required fields are marked *