HOW TO CREATE FORM USING HTML(INCLUDE CSS)

to create this login page you need html and css code.the required code is below


this is for html

!DOCTYPE html>
<html lang="en">
<head>
    <title>Registration Form </title>
    <link rel="stylesheet" href="style.css">
</head>   
<body>
        <div class="loginbox">
         <img src="j.jpg" class="j">
           <form style="text-align: center;">
               <p><u><i><b>LOGIN</b></i></u> </p>
               <p>ENTER YOUR NAME:</p>
                <P><input type="text" placeholder="username"</P>
                <p>PASSWORD:</p>
                <P><input type="password" placeholder="password" name=""</P>
              <p><input type="submit"></p>
          <table>
              <tr>
                   <td style="font-size: 4px;"> <input type="radio"></td>
                    <td>Remmember me.</tr>
                </tr>
          </table>
                <br>
                <a href="Forget your password?">Forget password?</a>
                <a href="sushant.html">New Registration?</a>
           </form>
     </div>
</body>
</html>


this is for css(cascoding style sheet)
body{margin0;
    padding0;
backgroundurl(rk.jfif);
background-size:cover;
background-positioncenter;
font-familysans-serif

}
   .loginbox {
       width320px;
       height420px;
       background#000;
       color#fff;
       top50%;
       left50%;
       positionabsolute;
       transformtranslate(-59%,-50%);
       box-sizingborder-box;
       padding50px 10px;
   }


.j{width100px;
    height100px;
    border-radius50%;
    positionabsolute;
    top-50px;
    left:33%;
}
.loginbox input{
    width100%


}
.loginbox input[type="text"] , input[type="password"]{
    bordernone;
    border-bottom1px solid #fff;
    backgroundtransparent;
    outlinenone;
    height30px;
    color#fff;
    font-size16px;
    border-bottom#fff;
}
.loginbox input[type="submit"]{
    bordernone;
    outlinenone;
    height40px;
    font-size20px;
    border-radius20px;
    backgroundrgb(1516767);
    color#fff;
}
.loginbox input[type="submit"]:hover{
  cursorpointer;
  background-color#ffc107;
  color#000;
  
}
          

python    math-2    evs    semiconductor

 

Comments