搜索文档
首页
HTML/CSS
JavaScript
服务端开发
Java教程
移动端
数据库
当前位置:
首页
HTML/CSS
HTML参考手册
HTML 属性
源代码
清空
点击运行
<!DOCTYPE html> <html> <head> <title>HTML:<button> formaction 属性 - 大卫编程网 div.cn</title> <body> <form action="/run/action_page.php" method="get"> First name: <input type="text" name="fname"><br> Last name: <input type="text" name="lname"><br> <button type="submit">Submit</button><br> <button type="submit" formaction="/run/action_page2.php">Submit to another page</button> </form> </body> </html>
运行结果