<form name="Form1"></form> <form name="Form2"></form> <form></form> <p>Name of first form: <script> document.write(document.forms[0].name); </script></p>