HTML does not recognize required. There are JavaScript libraries used for form/field validation that look for required and other things like val_email, val_number, etc. But, HTML doesn't use any of these things on its own. In this case, you have to validate the data with JavaScript by yourself.