编辑下面的代码:【加编码】
<html> <body> <form action="demo-form_method.php" method="get" target="_blank"> First name: <input type="text" name="fname"><br> Last name: <input type="text" name="lname"><br> <input type="submit" value="Submit"> </form> <p>Click on the submit button, and the input will be sent to a page on the server called "demo-form_method.php".</p> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂