Enter the username and password to log in and submit the form
The code is as follows:
login.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <hr size="1"> <form action="success.php" method="post" > 用户:<input type="text" name="username"/><br> 密码:<input type="password" name="password" /><br> <input type="submit" name='login' value="登录"> </form>