Edit & Run
Note: The required attribute of the input tag is not supported in Internet Explorer 9 and earlier versions, or in Safari.