image按钮新增的width属性和height属性

代码实例:

test.html

 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>test</title>
</head>

<body>

  <form  action="test1.html"  method="post">
     姓名:<input type="text"   name="name">
      <input type="image"  src="背包.png"   alt="编辑"  width="40"  height="40">
  </form>
</body>
</html>

 

test1.html

 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>s</title>
</head>
<body>
<input type="image"  src="背包.png"   alt="编辑"  width="200"  height="200">
</body>
</html>

 

效果:

 

2017-09-03  09:58:08

 

posted @ 2017-09-03 09:59  1点  阅读(291)  评论(0编辑  收藏  举报