input type radio
snippet in html

radio buttons html

user7412

<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

html radio button checked

user6094

  <input type="radio" id="huey" name="drone" value="huey"
         checked> 
<!-- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio-->

input radio html

user5688

<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>

input type radio

user1054


 <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> 

radio selected

user1032

//checked
  <input type="radio" id="huey" name="drone" value="huey"
         checked>

radio input value

user2727

<input type="radio" name="test" id="test" value="this is the value">