<form action="/statics/demosource/demo-form.php" id="form1"> First name: <input type="text" name="fname"><br> <input type="submit" value="提交"> </form> <object data="/statics/demosource/helloworld.swf" width="400" height="400" name="obj1" form="form1"></object> <p><b>注意:</b>几乎所有的主流浏览器都不支持 form 属性。</p>