代码实例:
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