您的位置:首页 > Web前端 > HTML

为HTML添加图片登录按钮

2015-10-26 12:07 393 查看
<!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>


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  html