Template:Dropdown

From UMaine SECS Numerical Modeling Laboratory
Revision as of 16:43, 20 February 2019 by Nick (talk | contribs)
Jump to: navigation, search

Click the button to create an INPUT field, a DATALIST element and an OPTION element.

<htmltag tagname="form" id="dropdown"> <htmltag tagname="input" list="browsers" name="browser"></htmltag> </htmltag>

<form action="/action_page.php">

 <input list="browsers" name="browser">
 <datalist id="browsers">
   <option value="Internet Explorer">
   <option value="Firefox">
   <option value="Chrome">
   <option value="Opera">
   <option value="Safari">
 </datalist>
 <input type="submit">

</form>