Advertisement
teslariu

form.html

Jul 12th, 2023 (edited)
1,432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.30 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <link rel="stylesheet" href="css/form.css"
  7.    <title>Formulario</title>
  8. </head>
  9. <body>
  10.     <form action="form.php" method="post">
  11.         <ul>
  12.             <li>
  13.                 <label for="nombre">Nombre:</label>
  14.                 <input type="text" id="nombre" name="nombre_usuario"/>
  15.             </li>
  16.             <li>
  17.                 <label for="email">Correo electrónico:</label>
  18.                 <input type="email" id="email" name="email_usuario"/>
  19.             </li>
  20.             <li>
  21.                 <label for="nacimiento">Fecha de nacimiento:</label>
  22.                 <input type="date" id="nacimiento" name="nacimiento_usuario"/>
  23.             </li>
  24.  
  25.             <li>
  26.                 <label for="telefono">Teléfono:</label>
  27.                 <input type="tel" id="telefono" name="telefono_usuario"/>
  28.             </li>
  29.  
  30.             <li>
  31.                 <label for="mensaje">Mensaje:</label>
  32.                 <textarea for="mensaje" name="mensaje_usuario"></textarea>
  33.             </li>
  34.             <li class="button">
  35.                 <button type="submit">Enviar mensaje</button>
  36.             </li>
  37.         </ul>
  38.     </form>    
  39. </body>
  40. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement