Answer the question
In order to leave comments, you need to log in
How to change the appearance of radio buttons in html?
<form action="<?$_REQUEST['SCRIPT_NAME'];?>" method="get">
<input class="r_button" type="radio" name="name" onclick="sample()" id="r_1" />
<label for="r_1">Описание радиокнопки</label>
<input class="r_button" type="radio" name="name" id="r_2" />
<label for="r_2">Описание радиокнопки</label>
<input type="submit" name="ok">
</form>
Answer the question
In order to leave comments, you need to log in
data is sent from the form to the server for the radio buttons in the format
name=value
where name is the value of the attribute name
value is the value of the attribute value
You don't specify the value attribute, so the default 'on' is
used for checkboxes and select-option the same policy
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question