Radio button form

Code examples

47
0

radio buttons html

<input type="radio" name="gender" value="male"> Male<br>
<input type="radio" name="gender" value="female"> Female<br>
<input type="radio" name="gender" value="other"> Other
15
0

input radio html

<!-- Input radio have the same name (2nd is selected, 3rd is readonly) -->
<input type="radio" name="done" value="0">Something<br>
<input type="radio" name="done" value="-1" 
       checked >Is selected<br>
<input type="radio" name="done" value="-2" 
       disabled >Is readonly
4
0

input radio html

<form>
  <p>Veuillez choisir la meilleure méthode pour vous contacter :</p>
  <div>
    <input type="radio" id="contactChoice1"
     name="contact" value="email">
    <label for="contactChoice1">Email</label>

    <input type="radio" id="contactChoice2"
     name="contact" value="telephone">
    <label for="contactChoice2">Téléphone</label>

    <input type="radio" id="contactChoice3"
     name="contact" value="courrier">
    <label for="contactChoice3">Courrier</label>
  </div>
  <div>
    <button type="submit">Envoyer</button>
  </div>
</form>
1
0

html radio button


 <input type="radio" id="male" name="gender" value="male">
<label for="male">Male</label><br>

 <input type="radio" id="female" name="gender" value="female">
<label for="female">Female</label><br>
<input type="radio" 
  id="other" name="gender" value="other">
<label 
  for="other">Other</label> 

In other languages

This page is in other languages

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................