HTML 5表单必需的属性。设置自定义验证消息?
<form id="form" onsubmit="return(login())">
<input name="username" placeholder="Username" required />
<input name="pass" type="password" placeholder="Password" required/>
<br/>Remember me: <input type="checkbox" name="remember" value="true" /><br/>
<input type="submit" name="submit" value="Log In"/>
编辑:*****
编辑
缥缈止盈
SMILET
ITMISS