q how can we design radio buttonradio buttons are


Q. How can we design Radio Button?

Radio buttons are used when only one out of group of options is to be chosen. In the illustration code we have put a line break after every button. Every one of the Radio Buttons should be assigned a VALUE and you should label each button. Code given in Figure explains this. You can also modify these labels with other HTML tags if you wish.

This takes care of basics of your radio buttons. You can organise things by adding a statement above buttons, and if you want to choose a default selection (optional). To choose a default selection you need to add "CHECKED" with appropriate radio button. User of course can only choose one option. Choice will be returned to you as name/value pair BEST FRIEND=Ajay (or whatever user picks).

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: q how can we design radio buttonradio buttons are
Reference No:- TGS0333174

Expected delivery within 24 Hours