Advertisement
Guest User

Untitled

a guest
Aug 14th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.23 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>Registration Form</title>
  6.     <meta name="viewport" content="width=device-width, initial-scale=1">
  7.     <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  8.     <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  9.     <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  10. </head>
  11. <body>
  12. <div class="container">
  13.     <h2>Registration form</h2>
  14.     <form action="/assignment">
  15.         <div class="form-group">
  16.             <label for="fname">First Name:</label>
  17.             <input type="text" class="form-control" id="fname" placeholder="Enter First Name" name="fname"
  18.                   aria-required="true">
  19.         </div>
  20.         <div class="form-group">
  21.             <label for="lname">Last Name:</label>
  22.             <input type="text" class="form-control" id="lname" placeholder="Enter Last Name" name="lname" required>
  23.         </div>
  24.         <label>Gender:</label>
  25.         <div class="radio">
  26.             <label class="radio-inline">
  27.                 <input type="radio" name="gender" value="male" checked>Male</label>
  28.             <label class="radio-inline">
  29.                 <input type="radio" name="gender" value="female">Female</label>
  30.         </div>
  31.         <div class="form-group">
  32.             <label for="email">Email:</label>
  33.             <input type="email" class="form-control" id="email" placeholder="Enter email" name="email" required>
  34.         </div>
  35.         <div class="form-group">
  36.             <label for="username">Username:</label>
  37.             <input type="text" class="form-control " id="username" placeholder="Enter Username" name="username"
  38.                   required>
  39.         </div>
  40.         <div class="form-group">
  41.             <label for="pwd">Password:</label>
  42.             <input type="password" class="form-control" id="pwd" placeholder="Enter password" name="pwd" required>
  43.         </div>
  44.  
  45.         <br>
  46.         <button type="reset" class="btn btn-danger" align="left">Reset</button>
  47.         <button type="submit" class="btn btn-primary" align="right">Submit</button>
  48.     </form>
  49.  
  50.  
  51.  
  52. </div>
  53. </body>
  54. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement