为HTML添加图片登录按钮


来源于:http://www.2cto.com/kf/201510/447673.html

<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style type="text/css">
        .but{
            border: 0px; /*去边框*/
            width: 1000px; /*宽*/
            height: 600px;/*高*/
            background-image:url(img/登录.jpg);/*背景图片*/
            font-size: 30px;/*字体大小*/
            color: white; /*字体颜色*/
        }
    </style>
</head>
<body>
<form action="http://www.baidu.com">
    账号:<input type="text" name="userNumber"/><br/>
    密码:<input type="password" name="password"><br/>
    <input type="submit" value=" " class="but" />
</form>
</body>
</html>

  

 

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM