久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      html5 input有新屬性嗎

      html5 input有新增屬性,分別為:autocomplete、autofocus、form、height、list、max、min、multiple、pattern、placeholder、required、step、width等等。

      html5 input有新屬性嗎

      本教程操作環(huán)境:windows7系統(tǒng)、HTML5版、Dell G3電腦。

      <input> 標簽規(guī)定了用戶可以在其中輸入數(shù)據(jù)的輸入字段。

      <input> 元素在 <form> 元素中使用,用來聲明允許用戶輸入數(shù)據(jù)的 input 控件。

      輸入字段可通過多種方式改變,取決于 type 屬性。

      HTML5 input標簽新增屬性

      屬性 描述
      autocomplete on off autocomplete 屬性規(guī)定 <input> 元素輸入字段是否應(yīng)該啟用自動完成功能。
      autofocus autofocus 屬性規(guī)定當頁面加載時 <input> 元素應(yīng)該自動獲得焦點。
      form form_id form 屬性規(guī)定 <input> 元素所屬的一個或多個表單。
      formaction URL 屬性規(guī)定當表單提交時處理輸入控件的文件的 URL。(只針對 type="submit" 和 type="image")
      formenctype application/x-www-form-urlencoded multipart/form-data text/plain 屬性規(guī)定當表單數(shù)據(jù)提交到服務(wù)器時如何編碼(只適合 type="submit" 和 type="image")。
      formmethod get post 定義發(fā)送表單數(shù)據(jù)到 action URL 的 HTTP 方法。 (只適合 type="submit" 和 type="image")
      formnovalidate formnovalidate formnovalidate 屬性覆蓋 <form> 元素的 novalidate 屬性。
      formtarget _blank _self _parent _topframename 規(guī)定表示提交表單后在哪里顯示接收到響應(yīng)的名稱或關(guān)鍵詞。(只適合 type="submit" 和 type="image")
      height pixels 規(guī)定 <input>元素的高度。(只針對type="image")
      list datalist_id 屬性引用 <datalist> 元素,其中包含 <input> 元素的預定義選項。
      max number date 屬性規(guī)定 <input> 元素的最大值。
      min number date 屬性規(guī)定 <input>元素的最小值。
      multiple multiple 屬性規(guī)定允許用戶輸入到 <input> 元素的多個值。
      pattern regexp pattern 屬性規(guī)定用于驗證 <input> 元素的值的正則表達式。
      placeholder text placeholder 屬性規(guī)定可描述輸入 <input> 字段預期值的簡短的提示信息 。
      required required 屬性規(guī)定必需在提交表單之前填寫輸入字段。
      step number step 屬性規(guī)定 <input> 元素的合法數(shù)字間隔。
      width pixels width 屬性規(guī)定 <input> 元素的寬度。 (只針對type="image")

      推薦教程:《html視頻教程》

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號