zoukankan      html  css  js  c++  java
  • 表单验证

    <form action="" class="am-form">
        <fieldset>
            <legend>H5 原生表单验证</legend><br>
            <div class="am-form-group">
                <label for="doc-vld-name">用户名:</label><br><br>
                <input type="text" id="doc-vld-name" minlength="3" placeholder="输入用户名" class="am-form-field" required/><br><br>
                <label for="doc-vld-name">邮箱:</label><br><br>
                <input type="email" id="doc-vld-name" minlength="3" placeholder="输入用户名" class="am-form-field" required/><br><br>
                <label for="doc-vld-name">网址:</label><br><br>
                <input type="url" id="doc-vld-name" minlength="3" placeholder="输入用户名" class="am-form-field" required/><br><br>
                <label for="doc-vld-name">年龄:</label><br><br>
                <input type="age" id="doc-vld-name" minlength="3" placeholder="输入用户名" class="am-form-field" required/><br><br>
                <label for="doc-vld-name">评论:</label><br><br>
                <input type="pinglun" id="doc-vld-name" minlength="3" placeholder="输入用户名" class="am-form-field" required/><br><br>
            </div>
            <input type="submit">
        </fieldset>
    </form>
  • 相关阅读:
    sublime使用及插件
    Unity 查找
    Unity 3D 的四种坐标系
    C#知识点<4>
    C#知识点<3>
    C#知识点<2>
    排序算法
    OOP的三大特性------封装、继承、多态
    C#常用函数
    C++-------------类和对象
  • 原文地址:https://www.cnblogs.com/rockyan/p/7997765.html
Copyright © 2011-2022 走看看