This is an example of an HTML5 form where the form fields show the validity state as the user types in each field. Back to User Agent Man HTML5 Forms article
Form fields labelled are mandatory.