Los formularios permiten que el usuario escriba, seleccione o elija opciones en la página. Aquí mostramos algunos ejemplos comunes:
<input type="text" placeholder="Escribe aquí">
<textarea rows="4" cols="40" placeholder="Escribe tu opinión aquí..."></textarea>
<input type="radio" id="rojo" name="color" value="rojo">
<label for="rojo">Rojo</label>
<input type="radio" id="azul" name="color" value="azul">
<label for="azul">Azul</label>
<input type="radio" id="verde" name="color" value="verde">
<label for="verde">Verde</label>
<input type="checkbox" id="futbol" name="deporte" value="futbol">
<label for="futbol">Fútbol</label>
<input type="checkbox" id="basket" name="deporte" value="basket">
<label for="basket">Baloncesto</label>
<input type="checkbox" id="natacion" name="deporte" value="natacion">
<label for="natacion">Natación</label>
<select>
<option>Opción 1</option>
<option>Opción 2</option>
</select>
Prueba estos elementos dentro de una estructura HTML completa: