ahmed0saber

Calculator in HTML , CSS

Nov 14th, 2020
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.17 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>Calculator</title>
  4. <style>
  5. input[type="button"]
  6. {background-color:grey;
  7. color:black;}
  8. input[type="text"]
  9. {background-color:grey;
  10. border:solid black 2px;}
  11. </style>
  12. </head>
  13. <body bgcolor="#F8F8FF">
  14. <br/><br/><br/><br/><br/>
  15. <form align="center">
  16. <input type="text" size=20>
  17. </form>
  18. <table border="1" align="center" bgcolor="black">
  19. <tr>
  20. <td><input type="button" value="  1  "/></td>
  21. <td><input type="button" value="  2  "/></td>
  22. <td><input type="button" value="  3  "/></td>
  23. <td><input type="button" value="  +  "/></td>
  24. </tr>
  25. <tr>
  26. <td><input type="button" value="  4  "/></td>
  27. <td><input type="button" value="  5  "/></td>
  28. <td><input type="button" value="  6  "/></td>
  29. <td><input type="button" value="  -  "/></td>
  30. </tr>
  31. <tr>
  32. <td><input type="button" value="  7  "/></td>
  33. <td><input type="button" value="  8  "/></td>
  34. <td><input type="button" value="  9  "/></td>
  35. <td><input type="button" value="  *  "/></td>
  36. </tr>
  37. <tr>
  38. <td><input type="button" value="  =  "/></td>
  39. <td><input type="button" value="  0  "/></td>
  40. <td><input type="button" value="  C  "/></td>
  41. <td><input type="button" value="  /  "/></td>
  42. </tr>
  43. </table>
  44. </body>
  45. </html>
  46.  
Advertisement
Add Comment
Please, Sign In to add comment