-
Notifications
You must be signed in to change notification settings - Fork 0
/
formulario.html
148 lines (147 loc) · 4.69 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cadastro usuário</title>
<style>
body {
background-color: #fde6cc;
color: #333333;
font-family: Arial, Helvetica, sans-serif;
}
h1 {
color: #ff6f61;
font-size: 3em;
text-align: center;
}
div {
padding: 20px;
max-width: 90vw;
width: 470px;
margin: auto;
border-radius: 15px;
background-color: #fff8e7;
border: 1px solid #ff6f61;
box-shadow: 5px 5px 5px #ff6e617a;
}
p {
color: #ff6f61;
font-size: 1.1em;
}
label {
font-size: 1.1em;
margin-left: 2.5%;
color: #ff6f61;
}
.text,
#textArea {
display: block;
margin: auto;
width: 95%;
border-radius: 10px;
height: 30px;
padding-left: 5px;
border: 1px solid #ff6f61;
background-color: #fff8e7;
color: #333333;
}
#textArea {
height: 100px;
}
input[type="radio"],
input[type="checkbox"] {
height: 20px;
width: 20px;
}
#env {
background-color: #ffcb52;
border: 1px solid #ffd166;
color: #ffffff;
font-weight: 800;
font-size: 1.1em;
border-radius: 10px;
display: block;
margin: auto;
width: 95%;
height: 50px;
border: none;
cursor: pointer;
}
#env:hover {
background-color: #ffb703;
}
</style>
</head>
<body>
<h1>Cadastro</h1>
<div>
<form action="cadastro.php" method="post">
<p>
<label for="inome">Nome:</label>
<input class="text" type="text" name="nome" id="inome">
</p>
<p>
<label for="itelefone">Telefone:</label>
<input class="text" type="text" name="telefone" id="itelefone">
</p>
<p>
<label for="idataNasc">Data de nascimento:</label>
<input class="text" type="date" name="dataNasc" id="idataNasc">
</p>
<p>
<label for="icidade">Cidade:</label>
<input class="text" type="text" name="cidade" id="icidade">
</p>
<br>
<p>
<p>Genero:</p>
<span>
<input type="radio" name="opcao" id="iop1" value="F">
<label for="iop1">Feminino</label>
</span>
<span>
<input type="radio" name="opcao" id="iop2" value="M">
<label for="iop2">Masculino</label>
</span>
<span>
<input type="radio" name="opcao" id="iop3" value="O">
<label for="iop3">Prefiro não informar</label>
</span>
</p>
<br>
<p>
<p>Interesses:</p>
<span>
<input type="checkbox" name="opcb1" id="iopcb1" value="ESP">
<label for="iopcb1">Esportes</label><br>
</span>
<span>
<input type="checkbox" name="opcb2" id="iopcb2" value="JOG">
<label for="iopcb2">Jogos</label><br>
</span>
<span>
<input type="checkbox" name="opcb3" id="iopcb3" value="FIL">
<label for="iopcb3">Filmes</label><br>
</span>
<span>
<input type="checkbox" name="opcb4" id="iopcb4" value="GAS">
<label for="iopcb4">Gastronomia</label><br>
</span>
<span>
<input type="checkbox" name="opcb5" id="iopcb5" value="TEC">
<label for="iopcb5">Tecnologia</label><br>
</span>
</p>
<br>
<p>
<p>Observação:</p>
<input id="textArea" type="textarea" name="obs" id="iobs" cols="6" rows="6" ></textarea>
</p>
<p>
<input id="env" type="submit" value="Cadastrar">
</p>
</form>
</div>
</body>
</html>