-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathformularios.html
More file actions
102 lines (91 loc) · 3.03 KB
/
formularios.html
File metadata and controls
102 lines (91 loc) · 3.03 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
<!DOCTYPE html>
<html>
<head>
<title>Formulários</title>
<meta charset="utf-8">
</head>
<body>
<h1>Aula de Formulários</h1>
<form action="formularios.html" method="get">
<!--fieldset relaciona as TAGs que estão em seu corpo-->
<!--Vira uma margem no bloco do fieldset do formulário-->
<fieldset>
<!--Legend é o título do fieldset-->
<legend>Infomações Pessoais</legend>
<!--Criando um label para Nome - Forma 1-->
<label for="nome1">Nome:</label>
<input type="text" id="nome1" tabindex="4" accesskey="N" /> <br />
<!--Utilizando Disabled-->
Sobrenome:
<input type="text" id="sobrenome" value="Jacinto Barriguinha" disabled="Readonly" /> <br />
<!--Utilizando Readonly-->
<label for="apelido">Apelido:</label>
<input type="text" id="apelido" value="Zé das Couves" readonly="Readonly" /> <br />
<!--Criando um label para Senha - Forma 2-->
<label for="senha1">
Senha:
<input type="password" id="senha1" /> <br />
</label>
<!--Enviando informação de forma oculta no formulário-->
<input type="hidden" id="chave" value="bernardo.fagner@hotmail.com" />
Sexo: <br />
<input type="radio" name="sexo" value="M" /> Masculino <br />
<input type="radio" name="sexo" value="F" /> Feminino <br />
<br />
</fieldset>
<fieldset>
<legend>Informações Profissionais</legend>
Áreas de conhecimento: <br />
<input type="checkbox" name="conhecimentos" value="C" /> C <br />
<input type="checkbox" name="conhecimentos" value="C++" /> C++ <br />
<input type="checkbox" name="conhecimentos" value="Java" /> Java <br />
<input type="checkbox" name="conhecimentos" value="HTML&CSS" /> HML&CSS <br />
<br />
Currículo: <br />
<input type="file" id="curriculo" /> <br />
<br />
<!--Caixas de texto-->
Escreva seu resumo aqui: <br />
<textarea rows="5" cols="60">ABCDE</textarea> <br />
</fieldset>
<fieldset>
<legend>Endereço</legend>
<!--Select normal-->
País de Origem:
<select name="guarda-o-value-selecionado">
<option value="BR">Brasil</option>
<option value="AR">Argentina</option>
<option value="EUA">Estados Unidos</option>
<option value="ALE">Alemanha</option>
</select> <br />
<br />
</fieldset>
<fieldset>
<legend>Complemento</legend>
<!--Select agrupado-->
Editores ou navegadores <br />
<select id="en">
<optgroup label="Editores">
<option>Notepad++</option>
<option>Qt Creator</option>
<option>Eclipse</option>
</optgroup>
<optgroup label="Navegadores">
<option>Chrome</option>
<option>Firefox</option>
<option>Opera</option>
</optgroup>
</select><br />
<br />
</fieldset>
<fieldset>
<legend>Verificadores</legend>
<!--Gerenciadores-->
<input type="submit" value="Inscrever"><br />
<input type="reset" value="Limpar Tudo"><br />
<input type="button" value="Validar Formulário"><br />
<br />
</fieldset>
</form>
</body>
</html>