<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <form action="http://localhost:8888/index" method="get"> <input type="text" name="user" /> <input type="text" name="email" /> <input type="password" name="pwd" /> <input type="button" value="登录1" /> <input type="submit" value="登录2" /> </form> <br/> <form action="http://localhost:8888/index" method="post"> <input type="text" name="user" /> <input type="text" name="email" /> <input type="password" name="pwd" /> <input type="button" value="登录1" /> <input type="submit" value="登录2" /> </form> </body> </html>