-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
51 lines (38 loc) · 1.48 KB
/
form.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
<!DOCTYPE html>
<html lang="pt-BR">
<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>Modelo meu</title>
<link rel="stylesheet" href="./form.css">
</head>
<body>
<section class="container">
<h1>Formulário de cadastro</h1>
<ul>
<li>Nenhum campo pode estar vazio</li>
<li>Usuário só poderá conter letras e/ou números</li>
<li>Usuário deverá ter entre 3 e 12 caracteres</li>
<li>Senha precisa ter entre 6 e 12 caracteres</li>
</ul>
<form action="/" method="post" class=" formulario">
<label>Nome</label>
<input type="text" class="nome validar">
<label>Sobrenome</label>
<input type="text" class="sobrenome validar">
<label>CPF</label>
<input type="text" class="cpf validar">
<label>Usuário</label>
<input type="text" class="usuario validar">
<label>Senha</label>
<input type="password" class="senha validar">
<label>Repetir Senha</label>
<input type="password" class="repetir-senha validar">
<button>Enviar</button>
</form>
</section>
<script src="./cpfform.js"></script>
<script src="./form.js"></script>
</body>
</html>