Files
DEV/DEV.1.2/tp2/ex2.html
Emmanuel Srivastava d3a8d70508 update
2024-12-05 23:28:52 +01:00

73 lines
2.3 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Formulaire</title>
</head>
<body>
<form method="post" action="https://dwarves.iut-fbleau.fr/requete.php" enctype="encodage">
<div class="nom">
<label for="name">Nom :</label>
<input type="text" id="name" name="name" required />
</div>
<div class="prenom">
<label for="prenom">Prénom :</label>
<input type="text" id="prenom" name="prenom" required />
</div>
<div class="email">
<label for="email">Email :</label>
<input type="email" id="email" name="email" required />
</div>
<div class="dateofbirth">
<label for="dateofbirth">Date de naissance :</label>
<input type="date" id="dateofbirth" name="dateofbirth" required />
</div>
<div class="postalcode">
<label for="postalcode">Code postale :</label>
<input type="number" id="postalcode" name="postalcode" required />
</div>
<div class="tel">
<label for="telephone">Téléphone portable :</label>
<input type="tel" id="telephone" name="telephone" required />
</div>
<div class="sexe">
<label>Sélectionnez votre sexe :</label><br>
<input type="radio" id="male" name="sexe" value="Homme" />
<label for="male">Homme</label><br>
<input type="radio" id="female" name="sexe" value="Femme" />
<label for="female">Femme</label><br>
</div>
<div class="semestre">
<label for="semestre">semestre :</label>
<select id="semester" name="semestre" required>
<option value="S1">S1</option>
<option value="S2">S2</option>
<option value="S3">S3</option>
<option value="S4">S4</option>
</select>
</div>
<div class="niveauHTML">
<label for="niveauHTML">Niveau HTML :</label>
<input type="range" id="niveauHTML" name="niveauHTML" min="0" max="10" step="1" required />
</div>
<div class="zonetexte">
<label for="zonetexte">Message :</label>
<input type="textarea" id="zonetexte" name="zonetexte" />
</div>
<button type="submit">submit</button>
<button type="reset">reset</button>
</form>
</body>
</html>