BootWiki教程网
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>BootWiki 教程网</title> </head> <body> <form action="demo-form.php" id="form1"> First name: <input name="fname" type="text"><br> <input type="submit" value="提交"> </form> <p> "Last name" 字段没有在 form 表单之内,但它也是 form 表单的一部分。</p> Last name: <input form="form1" name="lname" type="text"> <p><b>注意:</b> IE 不支持 form 属性</p> </body> </html>
运行结果