20150917-html第二次課

來源:互聯網
上載者:User

標籤:

一、滾動字幕標籤<marquee></marquee>

    

   屬性:

             scrollamount 指定每次移動的速度,數值越大速度越快

             scrolldelay    文字每一次滾動的停頓時間,單位是毫秒。時間越短滾動越快

             hspace   指定字幕左右空白地區的大小

             vspace   指定字幕上下空白地區的大小

             direction       設定文字的捲動方向,left表示向左,right表示向右,up表示往上滾動,down向下

             behavior       指定移動方式,scroll表示滾動播出,slide表示滾動到一方後停止,alternate表示滾動到一方後向相反方向滾動。

 

   例:<marquee scrollamount="5" scrolldelay="1" hspace="200" vaspace="50" direction="left" behavior="scroll">具體滾動內容</marquee>

  

二、表單元素<form></form>

 

   按鈕:<input type="button" value="我是按鈕"/>

   重設按鈕:<input type="reset" value="重設"/> 

   提交按鈕:<input type="submit" value="提交"/> 

   影像控制:<input type="image" src=""/> 

   複選框控制項:<input type="checkbox" name="fruit" value ="mango">芒果<br> 

                    <input type="checkbox" name="fruit" value ="apple">蘋果<br> 

                    <input type="checkbox" name="fruit" value ="orange" >桔子<br>

   單選框控制項:<select name="fruit" > 

                      <option value="apple">蘋果</option> 

                      <option value="orange">桔子</option> 

                      <option value="mango">芒果</option>

                </select>

    下拉式功能表

        <select name="" >

           <option value="">請選擇省份</option>

           <option value="1">廣東</option>

           <option value="2">廣西</option>

        </select>

        註:如要多選請加代碼 multiple="multiple"

    密碼控制項:<input type="password"  />

    檔案上傳控制項:<input type="file" />

    普通文字框:<input type="text" value="我是文字框" />

     <fieldset></fieldset> 控制群組標籤

         <fieldset>

           <legend>health information</legend>

           height: <input type="text" />

           weight: <input type="text" />

         </fieldset>

20150917-html第二次課

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.