Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Registration Form</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
- </head>
- <body>
- <div class="container">
- <h2>Registration form</h2>
- <form action="/assignment">
- <div class="form-group">
- <label for="fname">First Name:</label>
- <input type="text" class="form-control" id="fname" placeholder="Enter First Name" name="fname"
- aria-required="true">
- </div>
- <div class="form-group">
- <label for="lname">Last Name:</label>
- <input type="text" class="form-control" id="lname" placeholder="Enter Last Name" name="lname" required>
- </div>
- <label>Gender:</label>
- <div class="radio">
- <label class="radio-inline">
- <input type="radio" name="gender" value="male" checked>Male</label>
- <label class="radio-inline">
- <input type="radio" name="gender" value="female">Female</label>
- </div>
- <div class="form-group">
- <label for="email">Email:</label>
- <input type="email" class="form-control" id="email" placeholder="Enter email" name="email" required>
- </div>
- <div class="form-group">
- <label for="username">Username:</label>
- <input type="text" class="form-control " id="username" placeholder="Enter Username" name="username"
- required>
- </div>
- <div class="form-group">
- <label for="pwd">Password:</label>
- <input type="password" class="form-control" id="pwd" placeholder="Enter password" name="pwd" required>
- </div>
- <br>
- <button type="reset" class="btn btn-danger" align="left">Reset</button>
- <button type="submit" class="btn btn-primary" align="right">Submit</button>
- </form>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement