Advertisement
Guest User

that shit

a guest
Jun 21st, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3.  
  4. <head>
  5. <meta charset="utf-8" />
  6. <title>Forms</title>
  7. <style>
  8. body {
  9. color: white;
  10. background-color: #303030;
  11. }
  12.  
  13. form {
  14. overflow: hidden;
  15. }
  16.  
  17. textarea {
  18. background-color: beige;
  19. }
  20.  
  21. textarea:hover {
  22. background-color: aquamarine;
  23. }
  24.  
  25. div.form {
  26. width: 45%;
  27. }
  28.  
  29. input.textbox {
  30. float: right;
  31. clear: both;
  32. }
  33. #mad {
  34. text-align: right !important;
  35. }
  36. #notmad {
  37. text-align: left !important;
  38. float: left;
  39. }
  40.  
  41. </style>
  42. <script>
  43. </script>
  44. </head>
  45.  
  46. <body>
  47. <h2 style="text-align: center">Member Register Form</h2>
  48. <div class="form">
  49. <form>
  50. Username:<input class="textbox" /><br />
  51. Password:<input class="textbox" type="password" />
  52. <br />
  53. Confirm Password:<input class="textbox" type="password" /><br />
  54. Avatar:<input type="file" /><br />
  55.  
  56. <div>
  57. <div id="notmad"> Gender:</div>
  58. <div id="mad">
  59. <input type="radio" name="gender" value="Male" checked="checked" id="mad" />Male
  60. <input type="radio" name="gender" value="Female" id="mad" />Female
  61. <input type="radio" name="gender" value="Other" id="mad" />Other<br />
  62. </div>
  63. Hobbies:
  64. <input type="checkbox" value="Swimming" />Swimming
  65. <input type="checkbox" value="Football" />Football
  66. <input type="checkbox" value="Music" />Music<br />
  67.  
  68.  
  69. <a style="text-align:left;text-decoration:none">Country: </a>
  70. <select>
  71. <option value="vietnam">Viet Nam </option>
  72. <option value="laos">Laos </option>
  73. <option value="cambodia">Cambodia </option>
  74. </select><br />
  75. </div>
  76. </form>
  77. Comments:<br />
  78.  
  79.  
  80. <textarea rows="6" cols="100"></textarea><br />
  81. <input type="submit" value="Sign Up" />
  82. <input type="reset" value="Cancel" />
  83. <input type="button" value="Help" onclick="alert('See You Again')" /><br />
  84.  
  85. </div>
  86. </body>
  87.  
  88. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement