<!DOCTYPE html>
<html>
  <body>
    <form>
      <input type='text' value='foo' required>
    </form>
  </body>
</html>