编辑下面的代码:【加编码】
<html> <body> <form action="demo_form.php" id="form1"> First name: <input type="text" name="fname"><br> <input type="submit" value="Submit"> </form> <object data="/demo/helloworld.swf" width="400" height="400" name="obj1" form="form1"></object> <p><b>Note:</b> The form attribute is not supported in any of the major browsers.</p> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂