源代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>编程字典</title> </head> <body> <form action="demo_form.asp"> 用户名: <input type="text" name="usrname" maxlength="10"><br> <input type="submit" value="提交"> </form> </body> </html>
运行结果