Skip to content

Commit

Permalink
Atualizeifomr005
Browse files Browse the repository at this point in the history
  • Loading branch information
LarissaMicheli committed Oct 5, 2024
1 parent 297f2b9 commit 625200d
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 0 deletions.
74 changes: 74 additions & 0 deletions exercicios/ex25/form004.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Exemplos de Formulario</title>
<style>
body {
font-family: Arial, Helvetica, sans-serif;
background-color: rgb(240, 113, 219);

}
legend{
font-size: larger;
}
fieldset{
border-radius: 20px;
border: 2px solid black;
width: 400px;

}
input#itel{
border-radius: 10px;
font-size: larger;
background-color: aqua;
}
input#inome{
background-color: chartreuse;
border-radius: 5px;
font-size: larger;
}
input#iemail{
background-color: gold;
border-radius: 5px;
font-size: larger;
}
input#botao{
background-color: rgb(149, 0, 255);
border-radius: 5px;
font-size: larger;
}
input#botaolimpar{
background-color: rgb(255, 0, 55);
border-radius: 5px;
font-size: larger;
}
</style>
</head>
<body>
<h1>Formulário</h1>
<form action="cadastro.php" method="get" autocomplete="on">
<fieldset>
<legend>Dados Pessoais</legend>
<p>
<label for="inome">Nome:</label>
<input type="text" name="nome" id="inome" minlength="5" maxlength="20 required">
</p>
<p>
<label for="iemail">E-mail:</label>
<input type="email" name="email" id="iemail" autocomplete="email" required>

</p>
<p>
<label for="itel">Telefone:</label>
<input type="tel" name="tel" id="itel" autocomplete="tel" pattern="^\(\d{2}\)\d{4,5}-\d{4}$" required placeholder="(xx)xxxxx-xxxx">
</p>
</fieldset>
<p>
<input type="submit" value="Enviar" id="botao">
<input type="reset" value="Limpar" id="botaolimpar">
</p>
</form>
</body>
</html>
34 changes: 34 additions & 0 deletions exercicios/ex25/form005.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Formulário</title>
</head>
<body>
<h1>Exemplo de Formulário</h1>
<form action="cadastro.php" method="get" autocomplete="on">
<fieldset>
<legend>Sexo</legend>
<input type="radio" name="sexo" id="isxmas" value="M">
<label for="isxmas">Masculino</label> <br>
<input type="radio" name="sexo" id="isxfem" value="F" checked>
<label for="ixfem">Feminino</label>
</fieldset>

<fieldset>
<legend>Esportes Favoritos</legend>
<input type="checkbox" name="esbas" id="iesbas"><label for="iesbas">Basquete</label> <br>
<input type="checkbox" name="esfut" id="iesfut" checked><label for="iesfut">Futebol</label> <br>
<input type="checkbox" name="esnat" id="iesnat"><label for="iesnat">Natação</label> <br>
<input type="checkbox" name="esten" id="iesten"><label for="iesten">Tênis</label> <br>
</fieldset>


<p>
<input type="submit" value="Enviar">
<input type="reset" value="Limpar">
</p>
</form>
</body>
</html>

0 comments on commit 625200d

Please sign in to comment.