Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8" />
- <title>Quanto gastou com cigarro?</title>
- </head>
- <body>
- <h3> Quanto você já gastou com cigarro?</h3>
- <br /><br />
- <form action="http://localhost/fumante.php" method="post">Com quantos anos começou a fumar?<br />
- <input type="text" id="idade_inicial" name="idade_inicial" value="18" /><br />
- Quantos anos tem hoje?<br />
- <input type="text" id="idade_atual" name="idade_atual" value="50"/><br />
- Quantos cigarros fuma por dia?<br />
- <input type="text" id="cigarros_dia" name="cigarros_dia" value="30"/><br />
- Qual o preço do maço de cigarro que você fuma?
- R$<input type="text" id="preco_maco" name="preco_maco" value="3.50"/><br />
- <input type="submit" id="ex24_enviar" name="botao_enviar" value="Enviar Formulário"/><br />
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement