mimi_van

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

          Html 的部分標(biāo)簽

          Posted on 2007-12-17 22:24 mimi_van 閱讀(267) 評(píng)論(0)  編輯  收藏 所屬分類: html
          因?yàn)槲疫Bhtml都沒學(xué)過,只是平時(shí)見到的時(shí)候,記得些許,知道大概的格式。
          這里有一個(gè)內(nèi)容比較多的html頁面,作為記錄,用的時(shí)候參考參考。


          <
          html>
              
          <head>
                  
          <title>
                      index
                  
          </title>
              
          <head>
              
          <body>
                  
          <form name="form1" id="form1" method="post" action="">
                      同步進(jìn)行:
                      
          <input type="text" name="textfiled" id="txt" 
                      onkeyup
          ="javascript:document.getElementById('label_1').innerText = this.value"/> 
                      
          &nbsp;
                      這是同步的標(biāo)簽:
          <label id = "label_1"></label>
                      
          <br/>
                      
          <br/>
                      只允許輸入數(shù)字(QQ的驗(yàn)證):
                      
          <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="">--請(qǐng)選擇--</option>
                          
          <option value="我的秘書">我的秘書</option>
                          
          <option value="我的工作臺(tái)">我的工作臺(tái)</option>
                          
          <option value="項(xiàng)目管理">項(xiàng)目管理</option>
                          
          <option value="計(jì)劃管理">計(jì)劃管理</option>
                          
          <option value="企業(yè)管理">企業(yè)管理</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="我的工作臺(tái)">我的工作臺(tái)</option>
                                  
          <option value="項(xiàng)目管理">項(xiàng)目管理</option>
                                  
          <option value="計(jì)劃管理"> 計(jì)劃管理</option>
                                  
          <option value="企業(yè)管理">企業(yè)管理</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>
                              
          <!--另一個(gè)select 多選框b2 Begin-->
                              
          <select size="2" multiple  id="b2" style="height:151px; width:180px;">
                              
          </select>
                              
          <!--另一個(gè)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>

          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 万源市| 鹤岗市| 台南县| 辛集市| 牟定县| 高阳县| 沅陵县| 察隅县| 卢龙县| 收藏| 花莲县| 迁西县| 奇台县| 丰原市| 雷山县| 宜都市| 牡丹江市| 棋牌| 津市市| 鄂托克旗| 通道| 梧州市| 鞍山市| 南华县| 连江县| 环江| 龙南县| 凯里市| 汤原县| 咸阳市| 赤城县| 永康市| 佛山市| 山东| 乌审旗| 乌拉特后旗| 小金县| 麻江县| 巴塘县| 江北区| 凯里市|