-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathformulario.html
74 lines (58 loc) · 2.01 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="assets/css/formulario.css">
</head>
<body>
<div class="tamanho">
<h1>Formulário</h1>
<br><br>
<form action="" method="POST">
<label for="">Nome:</label>
<input type="text" id="nome" maxlength="15" size="30" placeholder="Digite seu nome" required>
<br>
<label for="">Idade:</label>
<input type="number" id="idade" min="18" max="29">
<br><br>
<label for="">Nascimento</label>
<input type="date" id="nascimento">
<br><br>
<label for="">Observação</label>
<textarea rows="4" cols="20" id="observacao" maxlength="250"></textarea>
<br><br>
<label for="">Cidade:</label>
<select id="estados">
<option value="" disabled selected>Selecione o estado</option>
<option value="SP">São Paulo</option>
<option value="RJ">Rio de Janeiro</option>
<option value="RS">Rio Grande do Sul</option>
</select>
<br><br>
<label for="">Senha:</label>
<input type="password" id="senha" maxlength="20">
<br><br>
<label for="">Sexo:</label>
<br><br>
<input type="radio" name="sexo" value="F">
<label for="">Feminino</label>
<input type="radio" name="sexo" value="M">
<label for="">Masculino</label>
<br><br>
<input type="checkbox" id="almoco">
<label for="">Almoço</label>
<br><br>
<input type="checkbox" id="transporte">
<label for="">Vale transporte</label>
<br><br>
<input type="submit" value="Enviar"
onclick="mostrar()">
<input type="reset" value="Limpar">
</form>
</div>
<script src="assets/js/formulario.js"></script>
</body>
</html>