<center>
<form action="/example/html5/demo_form.asp" method="get">
E-mail: <input type="email" name="user_email" placeholder="只能是邮箱格式"/><br />
只能数字:<input type ="number" name="number_name" maxlength="5" placeholder="只能输入数字">
</form>
</center>