How To Create An Login Page In Html

Share:

How To Create An Login Page In Html:

Code to create an Login Page In Html:

<form action="action_page.php">
 
<div class="container">

    <label for="uname"><b>Username</b></label>
    <input type="text" placeholder="give Username" name="uname" required>

    <label for="psw"><b>Password</b></label>
    <input type="password" placeholder="Enter Password" name="psw" required>

    <button type="submit">Login</button>
    <label>
      <input type="checkbox" checked="checked" name="remember"> Remember me
    </label>
  </div>

  <div class="container" style="background-color:#f1f1f1">
    <button type="button" class="cancelbtn">Cancel</button>
    <span class="psw">Forgot <a href="#">password?</a></span>
  </div>
</form>

No comments