From w3schools.com, Experiment by Teeratus_R
The required attribute prevents submission if the field is empty.