BlackThorn
30
Q:

input type radio

<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
25
  <input type="radio" id="huey" name="drone" value="huey"
         checked> 
<!-- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio-->
3
<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>
0

 <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> 
4
//checked
  <input type="radio" id="huey" name="drone" value="huey"
         checked>
1
<input type="radio" name="test" id="test" value="this is the value">
1

New to Communities?

Join the community