tag is used to provide an "autocomplete" feature for elements. Here’s the list of attributes of It would create a text box with a placeholder in it which you can see below: The text “Type Here” will disappear when you start to type anything into the box and it will re-appear when you delete it. How to use it: 1. It can also work to create simple and even nested or grouped HTML dropdowns, as the need may be. The name attribute is needed to reference the form data after the form is submitted (if you omit the name attribute, no data from the drop-down list will be submitted). How to use the submit button in HTML forms. Try this example! How to get selected text from a drop-down list (select box) using jQuery? For further examples, see … TAGs: JavaScript, HTML, DropDownList disabled (boolean; optional): If true, this option is disabled and cannot be selected. The element and the values being sent to you (either via email or to your database) are defined by the value attribute. The source for this interactive example is stored in a GitHub repository. Examples might be simplified to improve reading and learning. If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail: W3Schools is optimized for learning and training. The HTML element contains a set of