-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
109 lines (108 loc) · 3.94 KB
/
index.html
File metadata and controls
109 lines (108 loc) · 3.94 KB
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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Formulário</title>
</head>
<body>
<form method="GET">
<!-- digita o texto pequeno (login) -->
<label for="nome">Nome:</label>
<input type="text" placeholder="Digite seu nome" id="nome" name="nome" disabled>
<br>
<!-- email -->
<label for="email">Email:</label>
<input type="email" name="email" id="email" placeholder="Digite seu e-mail">
<!-- senha -->
<br>
<label for="senha">Senha:</label>
<input type="password" name="senha" id="senha" placeholder="Digite sua senha">
<!-- telefone -->
<br>
<label for="telefone">Telefone:</label>
<input type="tel" name="telefone" id="telefone" placeholder="Digite seu telefone">
<!-- number -->
<br>
<label for="numero">Numero:</label>
<input type="number" name="numero" id="numero" step="0.5">
<!-- escolhe uma data -->
<br>
<label for="data">Escolha uma data:</label>
<input type="date" name="data" id="data">
<hr>
<!-- escolhe apenas uma das opções (sexo) -->
<h3>Radio</h3>
<label for="m">Masculino</label>
<input type="radio" name="sexo" id="m" value="M">
<br>
<label for="f">Femino</label>
<input type="radio" name="sexo" id="f" value="F">
<br>
<label for="outro">Outro</label>
<input type="radio" name="sexo" id="outro" value="outro">
<!-- escolhe várias opções (hobbies) -->
<hr>
<h3>Checkbox</h3>
<label for="futebol">Futebol</label>
<input type="checkbox" name="hobbies" id="futebol" value="futebol">
<br>
<label for="volley">Volley</label>
<input type="checkbox" name="hobbies" id="volley" value="volley">
<br>
<label for="javascript">Javascript</label>
<input type="checkbox" name="hobbies" id="javascript" value="javascript">
<!-- digita um grande texto (post/tweet) -->
<hr>
<h3>Textarea</h3>
<label for="textao">Digite aqui o textao</label>
<textarea name="textao" id="textao" cols="30" rows="10" placeholder="Digite seu texto"></textarea>
<!-- seleciona uma opção dentre várias (estado/país) -->
<hr>
<h3>Select / Options</h3>
<select name="pais" id="pais">
<optgroup label="América do Sul">
<option value="BRA" disabled>Brasil</option>
<option value="ARG">Argentina</option>
<option value="URU">Urugai</option>
<option value="COL">Colômbia</option>
<option value="PER">Peru</option>
<option value="GUI">Guiana Francesa</option>
<option value="SUR">Suriname</option>
<option value="EQU">Equador</option>
<option value="VEN">Venezuela</option>
</optgroup>
<optgroup label="Europa">
<optgroup label="Leste Europeu">
<option value="RUS">Rússia</option>
<option value="LIT">Lituânia</option>
<option value="LET">Letônia</option>
<option value="EST">Estônia</option>
<option value="BEL">Belarus</option>
<option value="UCR">Ucrânia</option>
<option value="MOL">Moldávia</option>
<option value="CRO">Croatia</option>
<option value="POL">Polônia</option>
</optgroup>
<optgroup label="Europa Central">
<option value="CHE">Tchequia</option>
<option value="AUS">Austria</option>
<option value="ALE">Alemanha</option>
</optgroup>
<optgroup label="Nórdicos">
<option value="DIN">Dinamarca</option>
<option value="SUE">Suécia</option>
<option value="NOR">Noruega</option>
<option value="FIN">Finlâdia</option>
<option value="ICE">Islândia</option>
</optgroup>
</optgroup>
</select>
<!-- botoes -->
<hr>
<h3>Botões</h3>
<input type="submit" value="Cadastro">
<!-- <button type="submit">Cadastrar</button> -->
</form>
</body>
</html>