-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathform-02c-maxlength-0-25-3.html
executable file
·45 lines (45 loc) · 1.21 KB
/
form-02c-maxlength-0-25-3.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
<!doctype html>
<html lang="fr-BE">
<head>
<meta charset="UTF-8" />
<title>Form2c</title>
<meta name="author" content="Myriam Dupont" />
<link
rel="stylesheet"
type="text/css"
href="./css/form.css"
media="screen"
title="Normal"
/>
</head>
<body>
<h1>
2c. Champ de saisie texte et attribut <code lang="en">maxlength</code>
</h1>
<!-- CHAMP TEXTE - sans attribut maxlength -->
<form id="form2c1" action="#" method="get">
<h2>Sans attribut <code lang="en">maxlength</code></h2>
<div>
<input type="text" name="name" title="Veuillez saisir votre nom" />
</div>
<div>
<input type="submit" value="Envoyez votre nom" />
</div>
</form>
<!-- #form2c1-->
<!-- CHAMP TEXTE - Attribut maxlength à 25 -->
<form id="form2c2" action="#" method="get">
<h2>
Avec attribut <code><i lang="en">maxlength</i>="25"</code>
</h2>
</form>
<!-- #form2c2 -->
<!-- CHAMP TEXTE - Attribut maxlength -->
<form id="form2c3" action="#" method="get">
<h2>
Avec attribut <code><i lang="en">maxlength</i>="3"</code>
</h2>
</form>
<!-- #form2c3 -->
</body>
</html>