<html>
<body>
<form name="Form1"></form>
<form name="Form2"></form>
<form name="Form3"></form>
<p id="demo"></p>
<script>
document.getElementById("demo").innerHTML =
"The name of the first for is " + document.forms[0].name;
</script>
</body>
<!-- Mirrored from www.w3schools.com/js/tryit.asp?filename=tryjs_doc_forms2 by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:28:20 GMT -->
</html>