-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f038314
commit 0f41435
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<!DOCTYPE html> | ||
<html lang="pt-br"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Formulario</title> | ||
</head> | ||
<body> | ||
<h1>Exemplo de Formulário</h1> | ||
<form action="cadastro.php" method="get" autocomplete="on"> | ||
|
||
<p> | ||
<label for="iest">Estado</label> | ||
<select name="estado" id="iest"> | ||
|
||
<option value="" selected>--- Escolha---</option> | ||
<optgroup label="Região Sudeste"> | ||
<option value="SP">São Paulo</option> | ||
<option value="MG">Minas Gerais</option> | ||
<option value="RJ">Rio de Janeiro</option> | ||
|
||
</optgroup> | ||
<optgroup label="Região Nordeste"> | ||
<option value="MA">Maranhão</option> | ||
<option value="PE">Pernambuco</option> | ||
<option value="RN">Rio Grande do Norte</option> | ||
</optgroup> | ||
</select> | ||
</p> | ||
|
||
<p> | ||
<label for="iprof">Profissão</label> | ||
<input type="text" name="prof" id="iprof" list="lsprof"> | ||
<datalist id="lsprof"> | ||
<option >Administrador</option> | ||
<option >Contabilista</option> | ||
<option >Desenvolvedor</option> | ||
<option >Professor</option> | ||
<option >Outros</option> | ||
|
||
</datalist> | ||
|
||
</p> | ||
<p> | ||
<label for="imsg">Mensagem</label> <br> | ||
<textarea name="msg" id="imsg" cols="30" rows="10"> </textarea> | ||
</p> | ||
|
||
<p> | ||
<input type="submit" value="Enviar"> | ||
<input type="reset" value="Limpar"> | ||
</p> | ||
</form> | ||
</body> | ||
</html> |