HTML5 使用正则表达式

2014-10-26 0 255
HTML5 使用正则表达式
<form action="" method="post">  
    <label for="username">Create a Username: </label>  
    <input type="text"  
       name="username"  
       id="username"  
       placeholder="4 <> 10"  
       pattern="[A-Za-z]{4,10}"  
       autofocus  
       required>  
    <button type="submit">Go </button>  
</form>

遇见资源网 html HTML5 使用正则表达式 http://www.ox520.com/13799.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务