Html5】 按鈕系列

來源:互聯網
上載者:User

標籤:顏色   mon   格式   date   bsp   年月日   type   family   選取器   

<input type="email">      在輸入框內只能輸入格式為郵箱的內容
<input type="url">      在輸入框內只能輸入格式為網址的內容
 

<input type="number" max="100" min="1" step="2">   在輸入框內只能輸入格式為網址的內容,並且最大值為100最小值為2,點擊增加或者減少按鈕,每次增加/減少2
   
<input type="range"> 可拖動數字選擇條帶有 slider 控制項的數字欄位
 

<input type="date"> 年月日選擇框
 
<input type="month"> 年月選擇框 無法選擇日
 
<input type="week">周選擇框
 
<input type="time"  max="100" min="1" step="2"> 時分秒選擇框 與數字選擇框一樣 可以限制大小
 
<input type="search"> 搜尋方塊 比如站內搜尋或Google搜尋等【具體用法 大致和ctrl+f差不多】

<input type="tel"> 手機輸入框 【沒啥意義= = 感覺字母數字都可以輸入哪怕是標點符號】

<input type="color"> 顏色選取器

Html5】 按鈕系列

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.