Skip to content

Commit

Permalink
Fiz o exercício "form002"
Browse files Browse the repository at this point in the history
Aprendi mais sobre múltiplos controles dos formulários.
  • Loading branch information
sodiuz committed Jan 9, 2025
1 parent aee4adc commit 66c507c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions html5-css3/modulo4/exercicios/ex025/cadastro.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Os dados foram enviados!
Aprenda PHP para saber o que fazer com eles.
25 changes: 25 additions & 0 deletions html5-css3/modulo4/exercicios/ex025/form002.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Teste de Formulário</h1>
<form action="cadastro.php" method="post" autocomplete="off">
<p>
<label for="iusu">Usuário:</label>
<input type="text" name="usu" id="iusu" required minlength="5" maxlength="15" size="10" placeholder="Nome do Usuário">
</p>
<p>
<label for="isen">Senha:</label>
<input type="password" name="sen" id="isen" required minlength="8">
</p>
<p>
<input type="submit" value="Enviar">
<input type="reset" value="Limpar">
</p>
</form>
</body>
</html>

0 comments on commit 66c507c

Please sign in to comment.