required修改默认提示 :
1 <form action="abc.php"> 2 <input type="text" required oninvalid="setCustomValidity('写点东西')" > 3 <input type="submit" value="提交"> 4 </form>