zoukankan      html  css  js  c++  java
  • 表单

    1.文本输入

    文本框<input type="text" name="" id="" value=""/>

    密码框<input type="password" name="" id="" vale=""/>

    文本域<textarea name="'id=" cols=""(字符多少) rows=""(几行高) ></textarea>

    隐藏域<input type="hidden" name="" id="" value=""/>

    2.按钮

    提交按钮<input type="submit" name="" id="" disabled="disabled" value=""/>

    普通按钮<input type="button" name="" id="" disabled="disabled" value=""/>

    图片按钮<input type="image" name="" id="" disabled="disabled" src="图片地址"/>

    (disabled使按钮失效 ;enable,可使用)

    3.选择输入

    单选按钮组<input type="radio" name="" checked="checked" value=""/>(neme的值用来分组,value 值看不见,是提交给程序用的;checked,设置默认选项)

    复选框组<input type="checkbox" name="" checked="checked' value=""/>

    文件上传<input type="file" name="" id=""/>

    4.下拉列表框

    <select name="" id="" size="" multiple="multiple">(xiae为1时是列表,>1时是列表 multiple为多选

    <option value="值"> 内容1</option>

    <option value="值" selected="seleced">内容2</opyion>

    <option value="值"> 内容1</option>

    <body bgcolor="#00CCCC">
    <table width="580" height="600" cellpadding="0" cellspacing="0" border="0">
    <tr height="20">
    <td width="80" >邮箱: </td>
    <td ><form>
    <input type="texe" value="" /><br />
    
    </form></td>
    </tr>
    <tr height="20">
    <td width="80" ></td>
    <td width="500">需要通过邮箱激活账户,不支持souhu,21cn,sougou的邮箱</td>
    </tr>
    <tr height="20">
    <td width="120">登录用户名:</td>
    <td>
    <form><input type="texe" value="" /><br />
    
    </form></td>
    </tr>
    <tr height="30">
    <td width="60" ></td>
    <td>仅在登陆时使用,字符数不少于4个</td>
    </tr>
    <tr height="30">
    <td width="60" >显示名称</td>
    <td><form><input type="texe" value="" /><br />
    
    </form></td>
    </tr>
    <tr height="30">
    <td width="60"></td>
    <td>即昵称,字符数不少于2个</td>
    </tr>
    <tr height="30">
    <td width="60">密码</td>
    <td>
    <form><input type="password" /></form></td>
    </tr>
    <tr height="30">
    <td width="60" >确认密码:</td>
    <td><form><input type="password" /></form></td>
    </tr>
    <tr height="30">
    <td width="60" >确认密码:</td>
    <td><form><input type="password" /></form></td>
    </tr>
    <tr height="30">
    <td width="60" >性别:</td>
    <td><select size="1">
    <option>男</option>
    <option>女</option><br />
     
    
    </tr>
    <tr height="30">
    <td width="60" >喜好:</td>
    <td><select size="1">
    <option>音乐</option>
    <option>运动</option></td>
    </tr>
    <tr height="30">
    <td width="60" ></td>
    <td><input type="submit" value="注册" /></td>
    
     
    
    </tr>
    
    </body>
    </html>
  • 相关阅读:
    zedboard如何从PL端控制DDR读写(四)
    ZC706以太网扩展板接口
    软件测试作业3--Junit、hamcrest、eclemmat的安装和使用
    软件测试作业2
    软件测试作业1--描述Error
    安装Mysql 5.7.1
    Servlet生命周期+工作原理
    VS中工程的“依赖”,“库目录”,“包含目录”
    Linux C 重定向简单范例
    Java中关键字final用法
  • 原文地址:https://www.cnblogs.com/erinzhismile/p/5303329.html
Copyright © 2011-2022 走看看