html5-new elements

Source: Internet
Author: User

1.url:

<input type= "url"/>

2. Search box:

<input type= "Search"/>

3. Phone Number Input Box: Tel

<input type= "Tel"/>

4. Value input Box: number

<input type= "number" step= "0.1" min= "0" max= " />"

5. Slide Bar: Range

<input type= "range" min= "0" max= "value=" >

6: Date control: Day

<input type= "Date" value= "2016-01-04" >

7: Time Control: Times

<input type= "Time" value= "13:12" >

<input type= "Time" value= "13:12:45" >

8: Date Time Control: datetime-local

<input type= "datetime-local" value= "2016-12-14t13:12:12" >

9: Monthly control: Month

<input type= "Month" value= "2016-9" >

10: Week control

<input type= "Week" value= "2016-w03" >

11: Colour Picker: Color

<input type= "Color" value= "#2D9900" >

12: Input Box input prompt <datalist>

<input id= "Site" list= "SiteID" >

<datalist id= "SiteID" >

<option value= "baidu1" label= "BAIDU1" >

<option value= "baidu2" label= "Baidu2">

<option value= "Baidu3" label= "Baidu3">

<option value= "Baidu4" label= "Baidu4">

</datalist>

13: Progress bar Progress

<progress value= "0.25" max= ">25%</progress>"

14: Metering Bar: Meter

<meter value= "min=" "max=" "low=" "high=" >

15: Page Editable contenteditable= "true"

<div style= "width:240px;height:100px;contenteditable=" true "> You can edit this text </div>

html5-new elements

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.