JAVA 表单学习

柔情痞子 提交于 2019-12-18 11:25:29

 

    <form action="#" method="post" enctype="multipart/form-data">
         用户名:<input type="text" name="username" placeholder="请输入名字"  ><br>
         密  码:<input type="password" name="pwd"><br>
         隐藏域:<input type="hidden" name="uid" value="123"><br>
         <input type="button" value="普通">
         <input type="submit" value="上交">   
          <input type="reset" value="重置">
          <br>
         
           
             性别:
               <label>男<input type="radio" name="sex" value="man" checked></label>
                <label>女<input type="radio" name="sex" value="woman"></label>
          <br>      
         
          
           
             爱好
              <label> 足球<input type="checkbox" name="qiu" value="football" checked disabled></label>
                <label >篮球<input type="checkbox" name="qiu" value="bastctball"></label>
               <label> 排球<input type="checkbox" name="qiu" volleyball></label>
         
           
           <br>    
               文件上传
               <input type="file">
           
          
            <br>地址
              <select name=" address" id="">
                      <option value="zhangdian" disabled>莱州</option>
                      <option value="zichuan">厦门</option>
                      <option value="zhoucun" selected>重庆</option>
                  
              </select>
            <br>
               <textarea name="text1" id="" cols="30" rows="10" ></textarea>
                
                
                
     </form>
    

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!