编辑下面的代码:【加编码】
<html> <body> <form name="Form1"></form> <form name="Form2"></form> <form></form> <p>Number of forms: <script> document.write(document.forms.length); </script></p> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂