Html5datalist label example (automatically complete components )-

Source: Internet
Author: User
This article mainly introduces the example of using html5datalist labels (automatically completing components). If you need them, you can refer to the previous example of using JS to write a Suggest. In the HTML5 era, datalist labels are used directly to reduce the workload. As follows:

HTML5 datalist tag

 

Browser version:

Datalist provides a pre-defined list that is associated with input by id. When input in input, the autocomplete function is automatically completed, you will see a drop-down list for your selection.

Chrome/Firefox/Opera and IE10 + are supported, and Safari is not supported until version 7.

Related Articles:

Use of datalist tags for daily HTML5 Training

Datalist tag

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.