Advertisement
carlos_neto

desafio-fumante.html

Jul 24th, 2014
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.81 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>Quanto gastou com cigarro?</title>
  6. </head>
  7. <body>
  8. <h3> Quanto você já gastou com cigarro?</h3>
  9. <br /><br />
  10. <form action="http://localhost/fumante.php" method="post">Com quantos anos começou a fumar?<br />
  11. <input type="text" id="idade_inicial" name="idade_inicial" value="18" /><br />
  12. Quantos anos tem hoje?<br />
  13. <input type="text" id="idade_atual" name="idade_atual" value="50"/><br />
  14. Quantos cigarros fuma por dia?<br />
  15. <input type="text" id="cigarros_dia" name="cigarros_dia" value="30"/><br />
  16. Qual o preço do maço de cigarro que você fuma?
  17. R$<input type="text" id="preco_maco" name="preco_maco" value="3.50"/><br />
  18. <input type="submit" id="ex24_enviar" name="botao_enviar" value="Enviar Formulário"/><br />
  19. </form>
  20.  
  21. </body>
  22. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement