-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexercice13.html
94 lines (79 loc) · 2.46 KB
/
exercice13.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<html>
<head>
<title>En tête de ma pages</title>
<link rel="stylesheet" type="text/css" href="exercice13.css">
</head>
<!-- Commentaire HTML -->
<body>
<h1>Formulaire</h1>
<form method="POST" action="utilisateur.php">
<fieldset>
<legend>Nouveau compte</legend>
<label for="nom">Nom</label>
<input type="text" name="nom" placeholder="Saisir votre nom..." autocomplete="off" autofocus required />
<label for="prenom">Prenom</label>
<input type="text" name="prenom" />
<br/>
<label for="adresse">Adresse</label>
<input type="text" name="adresse" />
<br/>
<label for="email">Email</label>
<input type="email" name="email" />
<br/>
<label for="tel">Telephone</label>
<input type="tel" name="tel" pattern="([0-9]{2}-){4}[0-9]{2}" />
<br/>
<label for="sexe">Sexe</label>
<input type="radio" name="sexe" value="homme" checked>Homme</input>
<input type="radio" name="sexe" value="femme">Femme</input>
<input type="radio" name="sexe" value="autre">Autre</input>
<br />
<label for="rememberme">Se souvenir de moi</label>
<input type="checkbox" name="rememberme" />
<br />
<label for="age">Age</label>
<input type="range" name="age" min="0" max="120" />
<br />
<label for="dpt">Departement</label>
<select name="dpt">
<option>22</option>
<option>35</option>
<option>29</option>
<option>56</option>
</select>
<br />
<label for="dpts">Departements</label>
<select name="dpts[]" size="2" multiple style="width: 100px">
<option>22</option>
<option>35</option>
<option>29</option>
<option>56</option>
</select>
<br />
<label for="color">Couleur</label>
<input type="color" name="color" />
<br />
<label for="date">Date</label>
<input type="date" name="date" />
<br />
<label for="datetime">Date - Heure</label>
<input type="datetime-local" name="datetime">
<br />
<label for="week">Semaine</label>
<input type="week" name="week">
<br />
<label for="month">Mois</label>
<input type="month" name="month">
<br />
<datalist id="datalist">
<option value="22" label="Cotes d'Armor" />
<option value="35" label="Ille et Vilaine" />
<option value="29" label="Finistere" />
</datalist>
<input type="text" name="dpt2" list="datalist">
</fieldset>
<input type="submit" name="Envoyer" />
<br />
</form>
</body>
</html>