Note:Returns an array of all elements in the document. Syntax: document.forms // returns all formsdocument.forms(param1, param2) // returns an individual form param1 Required; zero-based index or the desired member's id or name attribute. param2 Optional; zero-based index if param1 matches more than one element.