Advertisement
Guest User

Dalton Menezes

a guest
Aug 9th, 2009
3,632
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.91 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="pt-br">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Minha calculadora</title>
  7. </head>
  8. <body>
  9. <form method="post" action="calcular.php">
  10. Valor 1:  
  11. <!-- Primeira caixa de texto !-->  
  12. <input type="text" name="valor1" size="5" />  
  13. Tipo de calculo:  
  14. <!-- Caixa de seleção com as operações aritméticas  !-->  
  15. <select name="tipo">  
  16. <option selected="selected">Somar</option>  
  17. <option>Subtrair</option>  
  18. <option>Multiplicar</option>  
  19. <option>Dividir</option>  
  20. </select>  
  21. Valor 2:  
  22. <!-- Segunda caixa de texto !-->  
  23. <input type="text" name="valor2" size="5" />  
  24. <!-- Botão de envio do formulário !-->  
  25. <input type="submit" name="calcularbtn" value="Calcular" />  
  26. </form>
  27. </body>
  28. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement