-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathformulario.html
112 lines (109 loc) · 5.18 KB
/
formulario.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!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>Formulário</title>
</head>
<!-- MAXLENGTH O LIMITE DE CARECTERES -->
<!-- FOR CLIKANDO EM CIMA VAI PARA CAIXA PARA DEGITAR -->
<body>
<div>
<h3>Cadastro de Pessoas</h3>
</div>
<div>
<fieldset>
<legend>Informe os dados</legend>
<form action="" name="frmCadastro" method="post">
<table>
<thead>
<tr>
<th colspan="2">Prencha os campos abaixo</th>
</tr>
</thead>
<tbody>
<tr>
<td><label for="txtNome">Nome: </label></td>
<td>
<input type="text" name="nome" id="txtNome" placeholder="Nome Completo" required>
</td>
</tr>
<tr>
<td><label for="txtEmail">E-mail: </label></td>
<td>
<input required type="email" name="txtEmail" id="txtEmail" placeholder="[email protected]" maxlength="100">
</td>
</tr>
<tr>
<td><label for="txtNascimento">Nascimento</label></td>
<td>
<input type="date" name="nascimento" id="txtNascimento">
</td>
</tr>
<tr>
<td><label for="txtsexo">Sexo</label></td>
<td>
<input type="radio" name="sexo" id="txtSexoM" value="m" /><label for="txtSexoM">Masculino</label>
<input type="radio" name="sexo" id="txtSexoF" value="f" /><label for="txtSexoF">Feminino</label>
</td>
</tr>
<tr>
<td><label for="txtRegiao">Região: </label></td>
<td>
<select name="regiao" id="txtRegiao">
<option value="0">Selecione</option>
<optgroup label="Sul">
<option value="rs">Rio Grande do Sul</option>
<option value="sc">Santa Catarina</option>
<option value="pr">Paraná</option>
</optgroup>
<optgroup label="nordeste">
<option value="ce">Ceará</option>
<option value="ba">Bahia</option>
</optgroup>
<optgroup label="sulDeste">
<option value="sp">São Paulo</option>
<option value="rj">Rio de Janeiro</option>
</optgroup>
</select>
</td>
</tr>
<tr>
<td><label for="txtItns">Itens</label></td>
<td>
<input type="checkbox" name="tv" id="tv"><label for="tv">TV</label>
<input type="checkbox" name="micro" id="micro"><label for="micro">Microondas</label>
<input type="checkbox" name="geladeira" id="geladeira"><label for="geladeira">Geladeira</label>
<input type="checkbox" name="carro" id="carro"><label for="carro">Carro</label>
<input type="checkbox" name="moto" id="moto"><label for="moto">Moto</label>
</td>
</tr>
<tr>
<td><label for="txtSenha">Senha:</label></td>
<td>
<input type="password" name="senha" id="txtSenha">
</td>
</tr>
<tr>
<td><label for="foto">Foto:</label></td>
<td>
<input type="file" name="foto" id="foto">
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td></td>
<td>
<input type="submit" value="Cadastrar"/>
<input type="submit" value="Cancelar"/>
</td>
</tr>
</tfoot>
</table>
</form>
</fieldset>
</div>
</body>
</html>