Showing posts with label how to create login form in html & css html login form. Show all posts
Showing posts with label how to create login form in html & css html login form. Show all posts

Wednesday, October 25, 2023

Login Form HTML And css

 

Creating Sample Login Form Using HTML

 Login Form


login form




  1]   What is login form?

 

Login forms are used in almost every website and Application.       A login form utilizes the credentials of a user, in order to authenticate their access. It generally consists of the typical username or email and password. But more fields can be added to improve the site's security.

 


 

  2]  What is login ID & password?

A login credential is a set of unique identifiers–such as a username and password–that enables a user to verify identity in order to log in to an online account. Failure to use secure passwords negates cybersecurity software and tools like firewalls and virtual private networks 


PROGRAM :CODE

Login form



<!DOCTYPE html>  
<html>  
<head>  
<meta name="viewport" content="width=device-width, initial-scale=1">  
<title> Login Page </title>  
<style>  
Body {  
  font-family: Calibri, Helvetica, sans-serif;  
  background-color:;  
}  
button {  
       background-color: #4CAF50;  
       width: 100%;  
        color: blue;  
        padding: 15px;  
        margin: 10px 0px;  
        border: none;  
        cursor: pointer;  
         }  
 form {  
        border: 3px solid #f1f1f1;  
    }  
 input[type=text], input[type=password] {  
        width: 100%;  
        margin: 8px 0;  
        padding: 12px 20px;  
        display: inline-block;  
        border: 2px solid violet;   ;  
        box-sizing: border-box;  
    }  
 button:hover {  
        opacity: 0.7;  
    }  
  .cancelbtn {  
        width: auto;  
        padding: 10px 18px;  
        margin: 10px 5px;  
    }  
       
     
 .container {  
        padding: 25px;  
        background-color: lightblue;  
    }  
</style>  
</head>    
<body>    
    <center> <h1> Login Form </h1> </center>  
    <form>  
        <div class="container">  
            <label>Username : </label>  
            <input type="text" placeholder="Enter Username" name="username" required>  
            <label>Password : </label>  
            <input type="password" placeholder="Enter Password" name="password" required>  
            <button type="submit"><b>Login</b></button>  
            <input type="checkbox" checked="checked"> Remember me  
            <button type="button" class="cancelbtn"> Cancel</button>  
            Forgot <a href="#"> password? </a>  
        </div>  
    </form>
    </body>
    </html>

visit the website
👇👇👌👍