Advertisement
grozdana

Untitled

Sep 14th, 2018
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>form demo</title>
  5. <link rel="stylesheet" type="text/css" href="style.css">
  6. </head>
  7. <body>
  8. <h1>Register</h1>
  9. <div class="form">
  10. <form >
  11. <label for="First" style="color: pink;">First Name:
  12. <input id="First" name="First" type="text" placeholder="Grodana" required></label>
  13.  
  14. <label for="Last" style="color: pink;">Last Name:</label>
  15. <input id="Last" name="Last" type="text" placeholder="Acevska" required></label>
  16. <div>
  17. <label for="male" style="color: pink;">Male</label>
  18. <input id="male" type="radio" name="gender" value="Male">
  19. <label for="Female" style="color: pink;">Female</label>
  20. <input id="Female" type="radio" name="gender" value="Female">
  21. <label for="Other" style="color: pink;">Other</label>
  22. <input id="Other" type="radio" name="gender" value="Other">
  23. </div>
  24.  
  25. <div>
  26. <label for="email" style="color: pink;">Email:</label>
  27. <input id="email" type="email" name="email" placeholder="your Email" required="" style="color: pink;">
  28. <label style="color: pink;">Password:
  29. <input type="password" name="password" placeholder="password" pattern=".{5,10}" required title="5 to 10 characters">
  30.  
  31. </label>
  32.  
  33.  
  34.  
  35. </div>
  36.  
  37. <div>
  38. <label style="color: pink;">
  39. Birthday:
  40. <select name="Month" style="color: green;">
  41. <option >Month</option>
  42. <option>jan</option>
  43. <option>feb</option>
  44. <option>mar</option>
  45. </select>
  46. <select name="Day" style="color: green;">
  47. <option>Day</option>
  48. <option>1</option>
  49. <option>2</option>
  50. <option>3</option>
  51.  
  52. </select>
  53. <select name="Year" style="color: green;">
  54. <option>Year</option>
  55. <option>1981</option>
  56. <option>1982</option>
  57. <option>1983</option>
  58.  
  59. </select>
  60. </label>
  61. </div>
  62. <div>
  63.  
  64. <label for="agree" style="color: yellow;">i agree to the tems and conditions:</label>
  65. <input id="agree" type="checkbox" name="agree">
  66. </div>
  67.  
  68.  
  69. <input type="submit" style="position: relative; color: pink; background-color: black;">
  70.  
  71.  
  72. </form>
  73. </div>
  74. </body>
  75. </html>
  76.  
  77.  
  78. .form{
  79.  
  80.  
  81. width: 60%;
  82. height: auto;
  83. float: left;
  84. border: 5px solid black;
  85. background: gray;
  86. box-sizing: border-box;
  87. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement