Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions 4-forms-validations/form.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Formulario de validación</title>
</head>
<body>

<form action="">
<label for="name">Nombre</label>
<input type="text" id="name" name="user_name" required>
<label for="name">Apellido</label>
<input type="text" id="apellido" name="user_name" required> <br>
<label for="mail">Correo Electrónico</label>
<input type="email" id="mail" name="user_mail" required>
<label for="date"> fecha</label>
<input type="date" id="start" name="trip-start"
value="2018-07-22"
min="2018-01-01" max="2022-12-31" required><br>
<input type="radio" name="Hombre" value="Hombre"> Hombre

<input type="radio" name="Mujer" value="Mujer" required> Mujer <br>
<label for="">Estrato 2 </label>
<input type="radio" name="socioeconómico" required>

<p>Hobbis</p>
<label for="cbox1">Ciclismo</label>
<input type="checkbox" id="cbox1" value="checkbox" required><br>
<label for="cbox2">Patinaje</label>
<input type="checkbox" id="cbox2" value="checkbox" required><br>
<label for="cbox3">Gym</label>
<input type="checkbox" id="cbox3" value="checkbox" required><br>
<label for="cbox4">Baloncesto</label>
<input type="checkbox" id="cbox4" value="checkbox" required><br>
<label for="imagen"></label>
<input type="file" id="imagen" name="imagen" type="POST" enctype="multipart/formdata" required>
<button>Enviar</button>
</form>

</body>
</html>