JSP第四次作业

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <style type="text/css">
            form
            {
                width:100%;
                height:700px;
                 margin-top: 0px;
                background:#008B8B;
            }
            div
            {
                display:inline-block;
                padding-top: 80px;
                padding-right: 20px;
                
            }
            h2
            {
                font-family: "沈阳科技学院";
            font-size: 40px;
                color:black;
            }
            #log
            {
                color:blue;
            }
        </style>
    </head>
    <body>
        <form name="login">
            <center>
            <div>
            <h2>
                    16号楼206
            </h2>
            <p>
                用户名:<input type="text"/>
            </p>
            <p>
                密 码:<input type="password"/>                                                                                       和密码对齐,小伙伴可以试着 先不加这个运行一下看一下结果 
            </p>
            <p>
                <input id=log type="submit" value="登录" />
            </p>
            <p>
                还没有账号?<a href="register.html">立即注册</a>
            </p>
            </div>
            </center>
        </form>
    </body>
</html>

  

 

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <style type="text/css">
            form
            {
                width:100%;
                height:700px;
                 margin-top: 0px;
                background:#008B8B;
            }
            div
            {
                display:inline-block;
                padding-top: 40px;
                padding-left: 0px;
                
            }
            h2
            {
                font-family: "沈阳科技学院";
            font-size: 40px;
                color:black;
            }
            #reg
            {
                color:blue;
            }
        </style>
    </head>
    <body>
        <form>
            <div>
            <h3>
            注册
        </h3>
        <p>
                用户名:<input type="text"/>
            </p>
            <p>
                密 码:<input type="password"/>
            </p>
            <p>
                手机号:<input type="text"/>
            </p>
            <p>
                <input id=reg type="submit" value="立即注册" />
            </p>
            <p>
                已有账号?<a href="login.html">请登录</a>
            </p>    
        </form>    
            </div>
        
        
    </body>
</html>

  

 

posted @ 2021-03-30 16:16  牛奶味的S  阅读(33)  评论(0)    收藏  举报