Advertisement
ZEdKasat

Signup Form

Nov 22nd, 2021
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.34 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <title>Sign Up</title>
  5.     <style>
  6.         form{
  7.             width: 50%;
  8.             margin: auto;
  9.             background-color: aquamarine;
  10.             padding: 40px;
  11.             border-radius: 20px;
  12.         }
  13.         label{
  14.             width: 100%;
  15.         }
  16.         input{
  17.             width: 100%;
  18.             margin-bottom: 15px;
  19.         }
  20.  
  21.         .radio_button{
  22.             width: auto;
  23.         }
  24.         button{
  25.             width: 100%;
  26.         }
  27.     </style>
  28. </head>
  29. <body>
  30.     <form>
  31.         <label for="name_field"> Enter your Name here </label>
  32.         <input type="text" name="name_field">
  33.  
  34.         <label for="email_field">Enter your Email here</label>
  35.         <input type="email" name="email_field">
  36.  
  37.         <label for="number_field">Enter your Name here</label>
  38.         <input type="number" name="number_field">
  39.  
  40.         <label for="dateOfBirth_field">Enter your Birthdate here</label>
  41.         <input type="date" name="dateOfBirth_field">
  42.  
  43.         <p>Choose your Gender:</p>
  44.         <label for="gender">Male</label>
  45.         <input type="radio" name="gender" class="radio_button">
  46.         <label for="gender">Female</label>
  47.         <input type="radio" name="gender" class="radio_button">
  48.  
  49.         <button type="submit">Submit</button>
  50.  
  51.     </form>
  52. </body>
  53. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement