“Rádio de entrada” Respostas de código

botões de rádio 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
Funny Fish

botão de rádio html verificado

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

Rádio selecionado

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

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

botões do rádio

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

Rádio de entrada

<form>

<p>Select a maintenance drone:</p>

<div>
  <input type="radio" id="huey" name="drone" value="huey"
         checked>
  <label for="huey">Huey</label>
</div>

<div>
  <input type="radio" id="dewey" name="drone" value="dewey">
  <label for="dewey">Dewey</label>
</div>

<div>
  <input type="radio" id="louie" name="drone" value="louie">
  <label for="louie">Louie</label>
</div>
</form>

<!--- If you want to be able to make several elements selectable,
the "name" attribute must be different for each of them... -->

// source : https://developer.mozilla.org/
Gorgeous Gemsbok

Respostas semelhantes a “Rádio de entrada”

Perguntas semelhantes a “Rádio de entrada”

Mais respostas relacionadas para “Rádio de entrada” em HTML

Procure respostas de código populares por idioma

Procurar outros idiomas de código