Guest User

Untitled

a guest
Jan 16th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Credit card form</title>
  6. <style>
  7. body {
  8. font-family: sans-serif;
  9. }
  10.  
  11. form {
  12. width: 370px;
  13. }
  14.  
  15. label {
  16. display: block;
  17. margin-bottom: 24px;
  18. font-size: 18px;
  19. }
  20.  
  21. input {
  22. padding: 8px;
  23. font-size: 18px;
  24. width: 100%;
  25. margin-top: 4px;
  26. }
  27.  
  28. button {
  29. display: block;
  30. padding: 20px 40px;
  31. margin: 0 auto;
  32. font-size: 18px;
  33. background: seagreen;
  34. color: white;
  35. border: none;
  36. }
  37. </style>
  38. </head>
  39.  
  40. <body>
  41. <form
  42. method="post"
  43. action="/submit-credit-card"
  44. target="_parent"
  45. >
  46. <label>
  47. Name on the card<br>
  48.  
  49. <input name="ccname" autofocus/>
  50. </label>
  51.  
  52. <label>
  53. Credit card number<br>
  54.  
  55. <input name="cardnumber"/>
  56. </label>
  57.  
  58. <label>
  59. CVC<br>
  60.  
  61. <input name="cvc"/>
  62. </label>
  63.  
  64. <label>
  65. Expiry date<br>
  66.  
  67. <input name="cc-exp"/>
  68. </label>
  69.  
  70. <button>
  71. Submit
  72. </button>
  73. </form>
  74. </body>
  75. </html>
Add Comment
Please, Sign In to add comment