Test Page1


  1. <!DOCTYPE html>

  2. <html>

  3. <head>

  4. <meta name="viewport" content="width=device-width, initial-scale=1">

  5. <title> Login Page </title>

  6. <style>

  7. Body {

  8.   font-family: Calibri, Helvetica, sans-serif;

  9.   background-color: pink;

  10. }

  11. button {

  12.        background-color: #4CAF50;

  13.        width: 100%;

  14.         color: orange;

  15.         padding: 15px;

  16.         margin: 10px 0px;

  17.         border: none;

  18.         cursor: pointer;

  19.          }

  20.  form {

  21.         border: 3px solid #f1f1f1;

  22.     }

  23.  input, input {

  24.         width: 100%;

  25.         margin: 8px 0;

  26.         padding: 12px 20px;

  27.         display: inline-block;

  28.         border: 2px solid green;

  29.         box-sizing: border-box;

  30.     }

  31.  button:hover {

  32.         opacity: 0.7;

  33.     }

  34.   .cancelbtn {

  35.         width: auto;

  36.         padding: 10px 18px;

  37.         margin: 10px 5px;

  38.     }



  39.  .container {

  40.         padding: 25px;

  41.         background-color: lightblue;

  42.     }

  43. </style>

  44. </head>

  45. <body>

  46.     <center> <h1> Student Login Form </h1> </center>

  47.     <form>

  48.         <div class="container">

  49.             <label>Username : </label>

  50.             <input type="text" placeholder="Enter Username" name="username" required>

  51.             <label>Password : </label>

  52.             <input type="password" placeholder="Enter Password" name="password" required>

  53.             <button type="submit">Login</button>

  54.             <input type="checkbox" checked="checked"> Remember me

  55.             <button type="button" class="cancelbtn"> Cancel</button>

  56.             Forgot <a href="#"> password? </a>

  57.         </div>

  58.     </form>

  59. </body>

  60. </html>