required attribute

Type:boolean
Inherited:no
Used By:input
Default:false

This attribute can be set to "true" to prevent the form from being submitted unless this field has a value specified.