Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <!-- Arquivo: idade.html -->
- <html>
- <head>
- <meta charset="utf-8"/>
- <title> Formulários </title>
- <style>
- label { font-size: 14px; color: #666;
- padding-left:26px;
- width:125px;
- text-transform: uppercase;
- display:inline-block;
- }
- input {
- font-size: 16px; color: #999;
- width:100px;
- padding-left:10px;
- }
- </style>
- </head>
- <body>
- <h1> Vamos calcular sua idade</h1>
- <form action="calculaIdade.php" method="post">
- <h2>Informe seus dados:</h2>
- <label for="data">Data de Nascimento:</label>
- <input type="text" name="dataNasc" id="data" required/>
- <br/>
- <label for="mes">Mês de Nascimento:</label>
- <input type="text" name="mesNasc" id="mes" required/>
- <br/>
- <label for="ano">Ano de Nascimento:</label>
- <input type="text" name="anoNasc" id="ano" required/>
- <br/>
- <p><input type="submit" value="Calcular" name="submit">
- <p/>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment