HTML Datalist TagThe HTML <datalist> tag is is used to provide an auto complete feature on form element. It provides a list of predefined options to the users to select data. The datalist tag is introduced in HTML5. The <datalist> tag should be used with an <input< element that contains a "list" attribute. The value of "list" attribute is linked with the datalist id. The HTML datalist tag supports global and event attributes also.HTML datalist tag exampleLet's see the simple example of HTML5 datalist tag. If you press A, it will show a list of cricketers starting with A letter. Test it NowOutput: Supporting Browsers
Next TopicHTML description Tag
|
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week