HTML 5 DataList

0
536

To apply auto complete feature in input text field DataList is used which is a new HTML5 tag shipped.

HTML5 DataList tag Introduction

As a part of HTML5 specification <datalist> tag has launched. Bu using this tab we can define a list of data and can be used to show list for an input box.

Example

I used DataList tag to define the list of categories.

Note: With the input box list attribute DataList id attribute must match.

SHARE
Previous articleHTML Elements
Next articleHTML Meta