File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="pt-br ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
+ < title > Exemplo de formulário</ title >
7
+ </ head >
8
+ < body >
9
+ < h1 > Exemplo de Formulário</ h1 >
10
+ < form action ="cadastro.php " method ="get " autocomplete ="on ">
11
+ < fieldset >
12
+ < legend > Sexo</ legend >
13
+ < input type ="radio " name ="sexo " id ="isxmas " value ="M "> < label for ="isxmas "> Masculino</ label > < br >
14
+ < input type ="radio " name ="sexo " id ="isxfem " value ="F "> < label for ="isxfem "> Feminino</ label >
15
+ </ fieldset >
16
+ <!--No radio o name precisa ser o mesmo-->
17
+ < fieldset >
18
+ < legend > Esportes Favoritos</ legend >
19
+ < input type ="checkbox " name ="esbas " id ="iesbas "> < label for ="iesbas "> Basquete</ label > < br >
20
+ < input type ="checkbox " name ="esfut " id ="iesfut " checked > < label for ="iesfut "> Futebol</ label > < br >
21
+ < input type ="checkbox " name ="esnat " id ="iesnat "> < label for ="iesnat "> Natação</ label > < br >
22
+ < input type ="checkbox " name ="esten " id ="iesten "> < label for ="iesten "> Tênis</ label >
23
+ </ fieldset >
24
+ < p >
25
+ < input type ="submit " value ="Enviar ">
26
+ < input type ="reset " value ="Limpar ">
27
+ </ p >
28
+
29
+ </ form >
30
+ </ body >
31
+ </ html >
You can’t perform that action at this time.
0 commit comments