-
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
Showing
4 changed files
with
104 additions
and
2 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,2 @@ | ||
Os dados foram enviados! | ||
A construção da página foi adiada até aprender PHP. |
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
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,44 @@ | ||
<!DOCTYPE html> | ||
<html lang="pt-br"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Formulários</title> | ||
|
||
<style> | ||
*{ | ||
font-family: Arial, Helvetica, sans-serif; | ||
} | ||
|
||
h1{ | ||
text-align: center; | ||
font-variant: small-caps; | ||
} | ||
|
||
body > p{ | ||
text-indent: 1em; | ||
} | ||
|
||
form{ | ||
padding: 25px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h1>Teste de formulários</h1> | ||
<hr> | ||
|
||
<form action="./cadastro.php" method="POST" autocomplete="on"> | ||
<p><label for="iusu">Usuário:</label> | ||
<input type="text" name="usu" id="iusu" required minlength="15" maxlength="20" size="15" placeholder="Nome do usuário" autocomplete="username"> | ||
</p> | ||
|
||
<p><label for="isen">Senha:</label> | ||
<input type="password" name="sen" id="isen" required minlength="8" size="8" placeholder="Senha" autocomplete="current-password"> | ||
</p> | ||
|
||
<p><input type="submit" value="Enviar"> | ||
<input type="reset" value="Limpar"></p> | ||
</form> | ||
</body> | ||
</html> |
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,56 @@ | ||
<!DOCTYPE html> | ||
<html lang="pt-br"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Formulários</title> | ||
|
||
<style> | ||
*{ | ||
font-family: Arial, Helvetica, sans-serif; | ||
} | ||
|
||
h1{ | ||
text-align: center; | ||
font-variant: small-caps; | ||
} | ||
|
||
body > p{ | ||
text-indent: 1em; | ||
} | ||
|
||
form{ | ||
padding: 25px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h1>Teste de formulários (II)</h1> | ||
<hr> | ||
|
||
<form action="./cadastro.php" method="get" autocomplete="on"> | ||
<p><label for="inome">Nome:</label> | ||
<input type="text" name="nome" id="inome" required minlength="10" maxlength="30" placeholder="Nome completo" autocomplete="name" required> | ||
</p> | ||
|
||
<p><label for="imedia">Média:</label> | ||
<input type="number" name="media" id="imedia" min="0" max="10" placeholder="Média (0-10)" step="0.25" value="0" required> | ||
</p> | ||
|
||
<p><label for="imes">Período Letivo:</label> | ||
<input type="month" name="mes" id="imes" value="2024-06"> | ||
</p> | ||
|
||
<p><label for="idia">Dia da Prova:</label> | ||
<input type="date" name="dia" id="idia"> | ||
</p> | ||
|
||
<p><label for="ihora">Horário da prova:</label> | ||
<input type="time" name="hora" id="ihora"> | ||
</p> | ||
|
||
<p><input type="submit" value="Enviar"> | ||
<input type="reset" value="Limpar"></p> | ||
</form> | ||
</body> | ||
</html> |