mimi_van

          吞下寂寞的戀人
          posts - 30, comments - 45, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          Html 的部分標簽

          Posted on 2007-12-17 22:24 mimi_van 閱讀(263) 評論(0)  編輯  收藏 所屬分類: html
          因為我連html都沒學過,只是平時見到的時候,記得些許,知道大概的格式。
          這里有一個內容比較多的html頁面,作為記錄,用的時候參考參考。


          <
          html>
              
          <head>
                  
          <title>
                      index
                  
          </title>
              
          <head>
              
          <body>
                  
          <form name="form1" id="form1" method="post" action="">
                      同步進行:
                      
          <input type="text" name="textfiled" id="txt" 
                      onkeyup
          ="javascript:document.getElementById('label_1').innerText = this.value"/> 
                      
          &nbsp;
                      這是同步的標簽:
          <label id = "label_1"></label>
                      
          <br/>
                      
          <br/>
                      只允許輸入數字(QQ的驗證):
                      
          <input type="text" id="txtQQ" name="textfield"  onkeypress="return aa()"/>
                      
          <br/>
                      
          <br/>
                      
          <label>*****************************************************************</label>
                      
          <br/>
                      
          <br/>
                      
          <table>
                      
          <tr>
                      
          <td>
                      
          <input type="checkbox" id="checkbox1" value = "大類" name="checkbox1"/>大類
                      
          <br/>
                      
          <input type="checkbox" id="checkbox1" value = "中類" name="checkbox1"/>中類
                      
          <br/>
                      
          <input type="checkbox" id="checkbox1" value = "小類" name="checkbox1"/>小類
                      
          <br/>
                      
          </td>
                      
          <td>
                      
          <input type="button" id="check_1" name="check_1"  value="提交"onclick="mycheck_1()"/>
                      
          </td>
                      
          <td>
                      
          <textarea rows="9" cols="25" id="textarea_1" name="textarea_1"></textarea>
                      
          <br/>
                      
          </td>
                      
          </tr>
                      
          </table>
                      
          <label>*****************************************************************</label>
                      
          <br/>
                      
          <br/>
                      
          <label><input type="radio" id="radio1" name="radiogroup" value="男"/></label>
                      
          <label><input type="radio" id="radio2" name="radiogroup" value="女"/></label>
                      
          &nbsp;
                      
          <input type="button" id="radio_1" name="radio_1"  value="提交"onclick="myRadio_1()"/>
                      
          <br/>
                      
          <br/>
                      
          <label><input type="radio" id="radio1" name="radiogroup_1" value="東"/></label>
                      
          <label><input type="radio" id="radio2" name="radiogroup_1" value="西"/>西</label>
                      
          <label><input type="radio" id="radio1" name="radiogroup_1" value="南"/></label>
                      
          <label><input type="radio" id="radio2" name="radiogroup_1" value="北"/><label>
                      
          <label><input type="radio" id="radio1" name="radiogroup_1" value="中"/><label>
                      
          &nbsp;
                      
          <input type="button" id="radio_2" name="radio_2"  value="提交"onclick="myRadio_2()"/>
                      
          &nbsp;
                      
          <input type="text" name="textfiled" id="txtRadio" value=""/>
                      
          &nbsp;
                      
          <br/>
                      
          <br/>
                      
          <label>*****************************************************************</label>
                      
          <br/>
                      
          <br/>
                      
          <!--select 單選框 Begin-->
                      
          <label>select 單選框</label>
                      
          <br/>
                      
          <select name="select" size="1"id="danXuan" onchange="changeText()">
                          
          <option value="">--請選擇--</option>
                          
          <option value="我的秘書">我的秘書</option>
                          
          <option value="我的工作臺">我的工作臺</option>
                          
          <option value="項目管理">項目管理</option>
                          
          <option value="計劃管理">計劃管理</option>
                          
          <option value="企業管理">企業管理</option>
                      
          </select>
                      
          &nbsp;
                      
          <input type="text" name="textfiled" id="select_danxuan" value=""/>
                      
          <!--select 單選框 Begin-->
                      
          <br/>
                      
          <br/>
                      
          <label>*****************************************************************</label>
                      
          <br/>
                      
          <label>select 多選框</label>
                      
          <table>
                          
          <tr>
                              
          <td>
                              
          <!--select 多選框b1  Begin-->
                              
          <select size="2"  multiple  id="b1" style="height:151px; width:180px;">
                                  
          <option value="我的秘書">我的秘書</option>
                                  
          <option value="我的工作臺">我的工作臺</option>
                                  
          <option value="項目管理">項目管理</option>
                                  
          <option value="計劃管理"> 計劃管理</option>
                                  
          <option value="企業管理">企業管理</option>
                              
          </select>
                              
          </td>
                              
          <!--select 多選框b1  end-->
                              
                              
          <td>
                              
          <!--select 多選框 button Begin-->
                              
          <table>
                                  
          <tr align="center"><input type="button"  value = " >  " onclick="myRight()"/></tr>
                                  
          <tr align="center"><input type="button"  value = " >> " onclick="myRightAll()"/></tr>
                                  
          <tr align="center"><input type="button"  value = " <  " onclick="myleft()"/></tr>
                                  
          <tr align="center"><input type="button"  value = " << " onclick="myleftAll()"/></tr>
                                  
          <tr align="center"><input type="button"  value = " ↑ " onclick="myup()"/></tr>
                                  
          <tr align="center"><input type="button"  value = " ↓ " onclick="mydown()"/></tr>
                              
          </table>
                              
          <!--select 多選框 button end-->
                              
          </td>
                          
                              
          <td>
                              
          <!--另一個select 多選框b2 Begin-->
                              
          <select size="2" multiple  id="b2" style="height:151px; width:180px;">
                              
          </select>
                              
          <!--另一個select 多選框b2  end-->
                              
          </td>
                              
          <td>
                                  
          <input type="button" id="select_duoxuan" name="select_duoxuan" value="確定" onclick="myselect_duoxuan()">
                              
          </td>
                              
          <td>
                                  
          <textarea rows="9" cols="25" id="textarea" name="textarea"></textarea>
                              
          </td>
                          
          <tr>
                      
          </table>
                      
          <br/>            
                  
          </form>
                  
              
          </body>
          </html>

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 永平县| 延吉市| 饶平县| 广昌县| 沛县| 营口市| 永定县| 蓬安县| 德令哈市| 浏阳市| 东至县| 福建省| 九台市| 陇西县| 宜良县| 于都县| 阿拉善右旗| 建昌县| 临洮县| 胶州市| 承德市| 沈丘县| 房产| 蒙阴县| 南华县| 林西县| 纳雍县| 潞西市| 桃园市| 聊城市| 莲花县| 万年县| 九龙县| 马关县| 贵南县| 蓝田县| 郑州市| 蚌埠市| 突泉县| 古浪县| 广东省|