Created
July 29, 2019 18:39
-
-
Save parzibyte/9ddae1c341a1aac919f05cfe1a5f1a37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Validación de formularios</title> | |
</head> | |
<body> | |
<h1>Validación con PHP</h1> | |
<a href="//parzibyte.me/blog">By Parzibyte</a> | |
<br> | |
<br> | |
<form method="POST" action="procesar.php"> | |
<input type="text" name="nombre" placeholder="Tu nombre"> | |
<br><br> | |
<input type="number" name="edad" placeholder="Tu edad"> | |
<br><br> | |
<input type="email" name="correo" placeholder="Correo electrónico"> | |
<br><br> | |
<input type="password" name="pass1" placeholder="Contraseña"> | |
<br><br> | |
<input type="password" name="pass2" placeholder="Confirma | |
contraseña"> | |
<br><br> | |
<input type="submit"> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment