<strong><font color="#ff0000">1.Email输入框,自动验证Email有效性。 <br></font></strong><br><div class="msgheader"> <div class="right"><span style="CURSOR: pointer" onclick="copycode(getid('phpcode38'));"><u>复制代码</u></span></div>代码如下:</div> <div class="msgborder" id="phpcode38"> <br> <br> <br> <br><form action="#" method="get"> <br>E-mail: <input type="email" name="user_email"><br> <br><input type="submit"> <br> </form> <br> <br> <br> </div> <br><strong><font color="#ff0000">2.number数字输入,验证正确,可以设置开始结束位。 <br></font></strong><br><div class="msgheader"> <div class="right"><span style="CURSOR: pointer" onclick="copycode(getid('phpcode39'));"><u>复制代码</u></span></div>代码如下:</div> <div class="msgborder" id="phpcode39"> <br> <br> <br> <br><form action="#" method="get"> <br><input type="number" step="5" min="5" max="20" name="number" value="0"> <br><input type="submit"> <br> </form> <br> <br> <br> </div> <br><strong><font color="#ff0000">3.URL输入框,可以验证URL输入的有效性。 <br></font></strong><form action="#" method="get"> URL: <input type="url" name="user_email"><br> <input type="submit"> </form> <br><strong><font color="#ff0000">4.Date pickers (date, month, week, time, datetime, datetime-local)选择框,可以选择日期,时间,月,周。 <br></font></strong><br><div class="msgheader"> <div class="right"><span style="CURSOR: pointer" onclick="copycode(getid('phpcode40'));"><u>复制代码</u></span></div>代码如下:</div> <div class="msgborder" id="phpcode40"> <br> <br> <br> <br><form action="#" method="get"> <br>Date: <input type="date" name="user_email"> <br>month : <input type="month" name="user_email"> <br>week: <input type="week" name="user_email"> <br>time: <input type="time" name="user_email"> <br>datetime: <input type="datetime" name="user_email"> <br>datetime-local : <input type="datetime-local" name="user_email"> <br><input type="submit"> <br> </form> <br> <br> <br> </div> <br><strong><font color="#ff0000">5.datalist输入选择。 <br></font></strong><br><div class="msgheader"> <div class="right"><span style="CURSOR: pointer" onclick="copycode(getid('phpcode41'));"><u>复制代码</u></span></div>代码如下:</div> <div class="msgborder" id="phpcode41"> <br> <br> <br><form action="#" method="get"> <br>Webpage: <input type="url" list="url_list" value="fdf" name="user_email"> <br><datalist id="url_list"> <br><option label="W3School" value="http://www.w3school.com.cn"></option> <br><option label="Microsoft" value="http://www.microsoft.com"></option> <br></datalist><input type="submit"> <br> </form> <br> <br> <br> </div>