Question: How Do I Find My Username And Password In HTML?

What is JavaScript form?

When the page is loaded, JavaScript makes an array forms in which it puts all the forms that are on the page.

The first form is forms[0] , the second is forms[1] etc.

Each form has another array in which JavaScript puts all the elements in the form.

The first elements is elements[0] , the second elements[1] etc..

How do I validate my username and password in HTML?

should be javascript:validate(…) or just validate(…) . Use