-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomboboxFildSet.html
57 lines (48 loc) · 1.79 KB
/
comboboxFildSet.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
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Exemplo de Combobox e Fieldset</title>
</head>
<body>
<h1>Formulário de Cadastro</h1>
<!-- Usando fieldset para agrupar informações pessoais -->
<fieldset>
<legend>Informações Pessoais</legend>
<label for="nome">Nome:</label>
<input type="text" id="nome" name="nome" required><br><br>
<label for="email">E-mail:</label>
<input type="email" id="email" name="email" required><br><br>
<label for="telefone">Telefone:</label>
<input type="tel" id="telefone" name="telefone"><br><br>
</fieldset>
<br>
<!-- Usando fieldset para agrupar informações de preferências -->
<fieldset>
<legend>Preferências</legend>
<!-- Exemplo de combobox para seleção de gênero -->
<label for="genero">Gênero:</label>
<select id="genero" name="genero" required>
<option value="">Selecione...</option>
<option value="masculino">Masculino</option>
<option value="feminino">Feminino</option>
<option value="outro">Outro</option>
<option value="nao_informar">Prefiro não informar</option>
</select><br><br>
<!-- Exemplo de combobox para seleção de país -->
<label for="pais">País de origem:</label>
<select id="pais" name="pais" required>
<option value="">Selecione seu país...</option>
<option value="brasil">Brasil</option>
<option value="argentina">Argentina</option>
<option value="eua">Estados Unidos</option>
<option value="portugal">Portugal</option>
</select><br><br>
</fieldset>
<br>
<!-- Botões para enviar ou redefinir o formulário -->
<input type="submit" value="Enviar">
<input type="reset" value="Limpar">
</body>
</html>