APL/APL1.2/Html1.2/tp2/Exercice3.html

54 lines
2.4 KiB
HTML
Raw Normal View History

2021-12-02 15:42:49 +01:00
<!DOCTYPE html>
<htlm lang="fr">
<head>
Site Internet
</head>
<body>
<p>
<form method="post" action="https://dwarves.iut-fbleau.fr/requete.php">
<div>
<label for="name"> Nom </label><input type="text" id="name" name="UserName"required><br>
</div>
<div>
<label for="prenom"> Prénom </label><input type="text" id="prenom" name="UserSurame"required><br>
</div>
<div>
<label for="naissance"> Date de naissance </label><input type="date" id="naissance" name="UserDateNaissance"required><br>
</div>
<div>
<label for="mail"> Email </label><input type="email" id="mail" name="UserEmail"required><br>
</div>
<div>
<label for="cpostal"> Code postal </label><input type="number" id="cpostal" pattern="[0-9]{5}" name="UserCodePostal"required><br>
</div>
<div>
<label for="tel"> Téléphone portable </label><input type="text" id="tel" pattern="^(?:0|\(?\+33\)?\s?|0033\s?)[1-79](?:[\.\-\s]?\d\d){4}$" name="UserTelephone"equired><br>
</div>
<div>
<input type="radio" id="sexe" value="Homme"name="UserSexe">
<label for="sexe">Homme</label>
<input type="radio" id="sexe" value="Femme"name="UserSexe">
<label for="sexe">Femme</label>
</div>
<div>
<label for="semestre"> Semestre </label>
<select name="UserSemestre"id="semestre">
<option value="semestre2" >Semestre 2</option>
<option value="semestre1">Semestre 1</option>
<option value="semestre3">Semestre 3</option>
<option value="semestre4">Semestre 4</option>
</select><br>
</div>
<div>
<label for="niv"> Niveau en html </label><input type="range" id="niv" min="0" max="10" step="1" name="UserLevel" required><br>
</div>
<div>
<label for="msg"> Message </label><textarea id="msg" name="user_message" ></textarea>
</div>
<input type="submit" name="soumission" value="Submit" /> <input type="reset" name="reset" value="Reset" />
</form>
<p>
</body>