简单教程
提交运行
代码编辑器:
<form action="/dy/html/getpost" method="get"> First name: <input type="text" name="fname"><br> Last name: <input type="text" name="lname"><br> <input type="image" src="/static/i/submit.png" alt="Submit" style="float:right" width="32" height="32"> <p>This is some text This is some text This is some text This is some text This is some text This is some text This is some text This is some text.</p> </form> <p>Click on the image, and the input will be sent to a page on the server called "/dy/html/getpost".</p> <p><b>Note:</b> The image input type sends the X and Y coordinates of the click that activated the image button as default.</p> <footer>简单教程,简单编程<br/>Copyright © 简单教程 www.twle.cn</footer>
运行结果: