Required is an HTML attribute of an input element that forces that the input be supplied.
Required fields are a common form of front-end validation to prevent users from submitting data that is logically incomplete. Though making fields required may not be an end-all validation technique, it is sufficient in a large number of cases.