Skip to content

Instantly share code, notes, and snippets.

@Jul10l1r4
Created December 27, 2017 01:48
Show Gist options
  • Save Jul10l1r4/7b26e59d6ad9d8240234fe865bdc2408 to your computer and use it in GitHub Desktop.
Save Jul10l1r4/7b26e59d6ad9d8240234fe865bdc2408 to your computer and use it in GitHub Desktop.
<!doctype HTML>
<html lang="pt-BR">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, user-scalable=no"/>
<title>Exemplo | Receber</title>
<link rel="shortcut icon" href="img/icn.png" type="image/x-png"/>
<style>/* código css para formatar o nosso pequeno formulário de teste */
body{
height:100%;
width:100%;
text-align:center;
position:absolute;
left:0;
right:0;
top:0;
}
h1{
font-family:"Ubuntu", sans-serif;
}
input{
background-color:#fff;
border:2px solid #000;
}
</style>
</head>
<body>
<h1>Cadastre-se</h1>
<form action="processo.php" method="POST"><!-- O nome do nosso email a ser recebido pelo php é email mesmo onde fica name="email" -->
<input type="email" placeholder="Digite seu email" name="email"/><br/>
<input type="submit"/><!-- Botão de enviar formulário ao nosso arquivo indicado pelo form, o action="processar.php" -->
</form>
<span>Receba nossas mensagens mensais :)</span>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment