File size: 1,684 Bytes
3a2f8cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!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: pink;

}

button { 

       background-color: #4CAF50; 

       width: 100%;

        color: orange; 

        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 green; 

        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> Student Login Form </h1> </center> 
    <form>
        <div class="container"> 
            <label>Username : </label> 
            <input type="text" placeholder="Enter Email Id/Mobile Number" name="username" required>
            <label>Password : </label> 
            <input type="password" placeholder="Enter Password" name="password" required>
            <button type="submit">Login</button> 
            <input type="checkbox" checked="checked"> Remember me 
            <button type="button" class="cancelbtn"> Cancel</button> 
            Forgot <a href="#"> password? </a> 
        </div> 
    </form>   
</body>   
</html>