编辑下面的代码:【加编码】
<html> <body> <form action="demo_form.php"> First name: <input type="text" name="fname"><br> <input type="image" src="submit.gif" alt="Submit" width="48" height="48"> </form> <p>Click on the image, and the input will be sent to a page on the server called "demo_form.php".</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> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂