源代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>编程字典</title> </head> <body> <form action="action_page.php"> <fieldset> <legend>个人信息:</legend> 名字:<br> <input type="text" name="firstname" value="Mickey"> <br> 姓氏:<br> <input type="text" name="lastname" value="Mouse"> <br><br> <input type="submit" value="Submit"> </fieldset> </form> </body> </html>
运行结果