Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Bootstrap Simple Sign in Form</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script> <style> h2 { font-size: 18px; margin: 0 0 15px; } .login-form { width: 350px; margin: 30px auto; } .login-form form { background: #f7f7f7; box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); padding: 30px; } .form-control, .btn { height: 36px; border-radius: 2px; } .btn { font-size: 15px; font-weight: bold; } .remember-me { margin: 8px 0 0 12px; } </style> </head> <body> <div class="login-form"> <form action="/examples/actions/confirmation.php" method="post"> <h2>Sign in</h2> <div class="form-group"> <label>Username</label> <input type="text" class="form-control" required="required"> </div> <div class="form-group"> <label>Password</label> <input type="password" class="form-control" required="required"> </div> <div class="form-group clearfix"> <button type="submit" class="btn btn-primary float-left">Sign in</button> <label class="form-check-label float-left remember-me"><input type="checkbox"> Remember me</label> </div> <div><a href="#">Can't access your account?</a></div> </form> </div> </body> </html>