美文网首页
2018-08-14day-22作业

2018-08-14day-22作业

作者: BIGBOSS_93d6 | 来源:发表于2018-08-14 20:42 被阅读0次

    用HTML写一个登录界面

    <!DOCTYPE html>
    <html>
        <head>
            <meta charset="UTF-8">
            <title>某某登录界面</title>
            <style type="text/css">
                #a4{
                    text-align: center;
                }
                #a3{
                    text-align: right;
                }
                #a2{
                    text-align:center;
                }
                #a5{
                    background: url(img/timg.jpg);
                }
            </style>
        </head>
        <body>
            <table border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td width="300" height="230">
                        
                    </td>
                    <td>
                        <div style="width: 300px;height:230px;background-color:white ;" id="a5">
                            <h2 align="center">账户登录</h2>
                            <form action="" method="get" id="a2">
                                <div>
                                    <strong>用户名:</strong>
                                    <input type="text" name="username"  value="邮箱/用户名/已验证手机" maxlength="11"/>
                                </div>
                                <br />
                                <div>
                                    <strong>密&nbsp;&nbsp;&nbsp;&nbsp;码:</strong>
                                    <input type="text" name="password"  value="密码" maxlength="16"/>
                                </div>
                                <br />
                            </form>
                            <form id="a3">
                                <table border="0" cellspacing="0" cellpadding="0">
                                    <a href="https://reg.jd.com/reg/person?ReturnUrl=http%3A%2F%2Fwww.jd.com">注册</a>
                                    &nbsp;
                                    <a href="https://safe.jd.com/findPwd/index.action">忘记密码?</a>
                                </table>
                            </form>
                            <br />
                            <form id="a4">
                                <div>
                                    <input style="background-color:darkorange ;" type="button" name="" id="" value="               登   录                 " />
                                </div>
                
                            </form>
                        </div>
                    </td>
                </tr>
            </table>
            
        </body>
    </html>
    
    

    效果图


    image.png

    相关文章

      网友评论

          本文标题:2018-08-14day-22作业

          本文链接:https://www.haomeiwen.com/subject/cwlbbftx.html