The <form> Element

Purpose

The <form> element contains the validation rules concerning a single HTML input form.

Attributes

NameTypeDescription
name NMTOKEN The name of the form.

Body

The body of the <form> element is defined by the following sequence:

((field | input)*, assert*)

Related elements

<forms>, <field>, <input>, <assert>