hercioneto

pw1-2017 idade.html

Sep 28th, 2017
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.90 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <!-- Arquivo: idade.html -->
  3. <html>
  4.     <head>
  5.         <meta charset="utf-8"/>
  6.         <title> Formulários </title>
  7.         <style>
  8.         label { font-size: 14px; color: #666;
  9.         padding-left:26px;
  10.         width:125px;
  11.         text-transform: uppercase;
  12.         display:inline-block;  
  13.         }
  14.         input {
  15.         font-size: 16px; color: #999;
  16.         width:100px;
  17.         padding-left:10px;
  18.         }
  19.         </style>
  20.     </head>
  21. <body>
  22. <h1> Vamos calcular sua idade</h1>
  23. <form action="calculaIdade.php" method="post">
  24. <h2>Informe seus dados:</h2>
  25. <label for="data">Data de Nascimento:</label>
  26. <input type="text" name="dataNasc" id="data" required/>
  27. <br/>
  28. <label for="mes">Mês de Nascimento:</label>
  29. <input type="text" name="mesNasc" id="mes" required/>
  30. <br/>
  31. <label for="ano">Ano de Nascimento:</label>
  32. <input type="text" name="anoNasc" id="ano" required/>
  33. <br/>
  34. <p><input type="submit" value="Calcular" name="submit">
  35. <p/>
  36. </form>
  37. </body>
  38. </html>
Advertisement
Add Comment
Please, Sign In to add comment