teslariu

form

Mar 18th, 2022
1,132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.77 KB | None | 0 0
  1. <!doctype>
  2. <html lang="es">
  3.  
  4. <head>
  5.     <title>Formulario</title>
  6.     <meta charset="UTF-8">
  7.     <link rel="stylesheet" href="style.css">
  8. </head>
  9.  
  10. <body style="text-align:center;">
  11.     <h1> Formulario de Registro </h1>
  12. <nav>
  13. <p style="background-color: black; width: 100px; height: 20px; text-align:center;" >
  14. <a href="index.html">INICIO </a> </p>
  15. <p style="background-color: black; width: 100px; height: 20px; text-align:center;" >
  16. <a href="servicios.html">SERVICIOS </a> </p>
  17. <p style="background-color: black; width: 100px; height: 20px; text-align:center;" >
  18. <a href="contacto.html">CONTACTO </a> </p>
  19. <p style="background-color: black; width: 100px; height: 20px; text-align:center;" >
  20. <a href="formulario.html">REGISTRO </a> </p>
  21. </nav>
  22.        
  23.     <form action="formulario.php" method="post" enctype="multipart/form-data">
  24.         <div>
  25.             <label for="name">Nombre:</label><br>
  26.             <input type="txt" id="name" name="nombre" required/>
  27.        
  28.         <div>
  29.             <label for="surname">Apellido:</label><br>
  30.             <input type="txt" id="surname" name="apellido" required/>
  31.         </div>
  32.         <div>
  33.             <label for="birthday">Fecha de nacimiento:</label><br>
  34.             <input type="date" id="birthday" name="fecha_nacimiento" placeholder=" dd/mm/yyyy">
  35.         <div>
  36.         <div>
  37.             <label for="sugerencias">Sugerencias:</label><br>
  38.             <textarea name="sugerencias" placeholder="Ingrese sugerencias o comentarios"></textarea>
  39.         </div>
  40.         <div>
  41.             <label for="mail">Correo electrónico:</label><br>
  42.             <input type="email" required id="mail" name="direccion_email">
  43.         </div>
  44.         <div>
  45.             <label for="cars">Seleccione su marca de autos preferida:</label><br>
  46.             <select name="cars">
  47.                     <option value="volvo">Volvo</option>
  48.                     <option value="saab">Saab</option>
  49.                     <option value="fiat">Fiat</option>
  50.                     <option value="audi">Audi</option>
  51.             </select>
  52.         </div>
  53.         <div>
  54.             <label for="web">Página web personal:</label><br>
  55.             <input type="url" id="web" name="web_personal" pattern="https?://.+" placeholder="http:// o https://">
  56.         </div>
  57.         <div>  
  58.             <label for="phone">Teléfono:</label><br>
  59.             <input type="tel" id="phone" name="telefono">
  60.         </div>
  61.         <div>
  62.             <label for="place">Lugar de residencia:</label><br>
  63.             <input type="text" id="place" name="localidad">
  64.         </div>
  65.         <div>
  66.             <label for="color">Color favorito:</label><br>
  67.             <input type="color" id="color" name="color">
  68.         </div>
  69.         <div>
  70.             <label for="exp">Experiencia en el uso del Software Libre:</label><br>
  71.             <input type="number" required id="exp" name="experiencia" min="0" max="100" step="10" placeholder="De 0 a 100">
  72.         </div>
  73.         <div>
  74.             <label for="user">Usuario:</label><br>
  75.             <input type="text" id="user" required pattern=".{0,10}" name="usuario" placeholder="Máximo 10 caracteres">
  76.         </div>
  77.         <div>
  78.             <label for="pwd">Contraseña:</label><br>
  79.             <input type="password" required id="pwd" name="password" pattern=".{10,60}" placeholder="Entre 10 y 60 caracteres">
  80.         </div>
  81.         <div>
  82.             <label for="image">Imagen de perfil:</label><br>
  83.             <input type="file" required id="image" name="imagen_perfil" placeholder=" Formato jpeg o png">
  84.         </div>
  85.         <div>
  86.             <label for="pub">Envío de correo:</label><br> 
  87.             <input type="radio" id="pub" name="publicidad" checked value="semanal">Semanal
  88.             <input type="radio" id="pub" name="publicidad" value="mensual">Mensual
  89.             <input type="radio" id="pub" name="publicidad" value="ninguna">Ninguno
  90.         </div>
  91.         <div>
  92.             <label for="condiciones">Términos y condiciones:</label><br>
  93.             <input type="checkbox" id="check" required name="aceptacion" value=" aceptacion"> Acepto los términos y las condiciones
  94.         </div>
  95.  
  96.  
  97.  
  98.         <div class="button">
  99.             <button type="submit">Enviar</button>
  100.             <button type="reset">Borrar</button>   
  101.         </div>
  102.     </form>
  103.  
  104. </body>
  105. </html>
Advertisement
Add Comment
Please, Sign In to add comment