Advertisement
teslariu

forms

Aug 13th, 2022
1,005
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.25 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.     <title>Formulario</title>
  8. </head>
  9. <body>
  10.     <div>
  11.         <form action="/action_page.php" method="post">
  12.             <label>Nombre</label>
  13.             <input type="text" name="nombre" required maxlength="20"><br>
  14.            
  15.             <label>Email</label>
  16.             <input type="email" name="email"><br>
  17.            
  18.             <label>Teléfono</label>
  19.             <input type="tel" placeholder="(+541) 11 1234-5678" name="telefono"><br>
  20.            
  21.             <label>Edad</label>
  22.             <input type="number" required min="18" max="99"><br>
  23.            
  24.             <label>Password</label>
  25.             <input type="password" name="passwd" required><br>
  26.            
  27.             <label>Acepto términos y condiciones</label>
  28.             <input type="radio" name="aceptar" value="si">SI
  29.             <input type="radio" name="aceptar" value="no" checked="checked">NO<br>
  30.  
  31.             <label>Lenguajes de programación que domina</label><br>
  32.             <input type="checkbox" name="Python" value="si">Python<br>
  33.             <input type="checkbox" name="Ruby" value="si">Ruby<br>
  34.             <input type="checkbox" name="C/C++" value="si">C/C++<br>
  35.             <input type="checkbox" name="GO" value="si">GO<br>
  36.             <input type="checkbox" name="JavaScript" value="si">JavaScript<br>
  37.             <input type="checkbox" name="Java" value="si">Java<br>
  38.            
  39.             <label>País</label><br>
  40.             <select name="pais" required>
  41.                 <option value="Argentina">Argentina</option>
  42.                 <option value="Bolivia">Bolivia</option>
  43.                 <option value="Brasil">Brasil</option>
  44.                 <option value="Paraguay">Paraguay</option>
  45.                 <option value="Uruguay">Uruguay</option>
  46.             </select><br>
  47.  
  48.             <label>Comentarios</label><br>
  49.             <textarea placeholder="Escriba sus sugerencias"></textarea><br>
  50.            
  51.             <input type="submit" value="Enviar">
  52.             <input type="reset" value="Borrar">
  53.         </form>
  54.     </div>
  55. </body>
  56. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement