zoukankan      html  css  js  c++  java
  • 表单

    input type="text" size=50px  //  文本框的长度 只能是 size  不能是width

    <hr>
    <input type="submit">
    <input type="reset">
    <input type="button" VALUE="按钮"> //不会自带文字

    <button type="submit">提交</button>
    <button type="reset">重置</button>
    <button type="button">按钮 </button>

    
    
    <input type="text " size="50">
    <input type="text" maxlength="10" >
    <input type="text" value="初始值">
    <input type="text" placeholder="请输入">
    <input type="text" readonly>
    <input type="text" disabled>
    <input type="number" step="2" min="10" max="100">

    体育<input type="CheckBox">音乐 <input type="checkbox">


    <input type="file" required >//reuired 表示必须输入一个值

    <input type="file" required >
    <input type="search" >//search表示加个叉
    <input type="password" placeholder="密码" readonly disabled size="30px" value="123123" required>

    <select name="fruit" id="" size="30px" autofocus required >
    <option value="">苹果</option>
    <option value="">橘子</option>

    
    
  • 相关阅读:
    Combox小问题
    数据库登录名,用户,角色以及权限分配
    UDP初识
    AJax 无刷新构建DataTable
    批量修改数据库构架SQL
    Jquery Ajax
    Linq中使用Group By
    对象的消息模型
    P2P网络技术概览与实现原理
    ajax(1)
  • 原文地址:https://www.cnblogs.com/ningjie/p/9582495.html
Copyright © 2011-2022 走看看