ArpitB

Submition Form

Aug 25th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. #parent {
  2. display: list-item;
  3. align-items: stretch;
  4. }
  5.  
  6. #form {
  7. display: list-item;
  8. align-items: center;
  9. }
  10.  
  11. #small-div {
  12. text-align: center;
  13. width: 100%;
  14. height: 100%;
  15.  
  16. }
  17.  
  18. body {
  19. width: 100%;
  20. height: 100%;
  21. }
  22.  
  23. <!DOCTYPE html>
  24. <html>
  25. <title>Submition Form</title>
  26. <body>
  27.  
  28. <div id="parent">
  29.  
  30. <div id="small-div">
  31. <p>sign up
  32. <p>Sign up to learn the most important skill of 21st century</p>
  33. </p>
  34.  
  35. <form class="form">
  36. <input type="text" name="firstname" placeholder="YOUR NAME">
  37. <br>
  38. <input type="number" name="phonenumber" placeholder="PHONE NUMBER">
  39. <br>
  40. <input type="email" name="email" placeholder="EMAIL">
  41. <br>
  42. <input type="text" name="address" placeholder="ADRRESS">
  43. <br>
  44. <input type="text" name="college" placeholder="COLLEGE/SCHOOL/UNIVERSITY">
  45. <br>
  46. <input type="radio" name="courses" value="btech">
  47. <label for="btech">B.tech| </label>
  48. <input type="radio" name="courses" value="mtech">
  49. <label for="mtech">M.tech| </label>
  50. <input type="radio" name="courses" value="bca">
  51. <label for="bca">B.C.A| </label>
  52. <input type="radio" name="courses" value="mca">
  53. <label for="mca">M.C.A| </label>
  54. <input type="radio" name="courses" value="other">
  55. <label for="other">Other| </label>
  56. <br>
  57. <input type="radio" name="Discipline" value="CS">
  58. <label for="CS">CS| </label>
  59. <input type="radio" name="Discipline" value="IT">
  60. <label for="IT">IT| </label>
  61. <input type="radio" name="Discipline" value="SE">
  62. <label for="SE">SE| </label>
  63. <input type="radio" name="Discipline" value="EE">
  64. <label for="EE">EE| </label>
  65. <input type="radio" name="Discipline" value="ECE">
  66. <label for="ECE">ECE| </label>
  67. <input type="radio" name="Discipline" value="EEE">
  68. <label for="EEE">EEE| </label>
  69. <input type="radio" name="Discipline" value="Other">
  70. <label for="Other">Other| </label>
  71.  
  72.  
  73. </form>
  74.  
  75. </div>
  76. </div>
  77.  
  78.  
  79. </body>
  80. </html>
Add Comment
Please, Sign In to add comment