Tredence Interview Question

How do you make a input field mandatory in HTML5?

Interview Answer

Anonymous

May 20, 2016

by adding 'required' in the attribute.