[Chapter 21] Reference: Document.forms[]
Author: David Flanagan
Date: Fri Aug 29 11:15:08 1997

#

| Chapter 21 JavaScript Reference |

# Document.forms[] Property

## Name

Document.forms[] Property---the Forms in a document

## Availability

Navigator 2.0, Internet Explorer 3.0

## Synopsis

    document.forms
    document.forms.length

## Description

The `forms` property is an array of Form objects, one for each HTML form that appears in `document`. The `forms[]` array has `forms.length` elements, numbered from zero to `forms.length-1`.

See the Form object for more information.

## See Also

"Document", "Form"

Document.fgColor |  | Document.images[]