Difference between revisions of "Template:Dropdown"
Line 4: | Line 4: | ||
</div> | </div> | ||
− | <htmltag tagname="input" list=" | + | <htmltag tagname="input" list="viscosity" name="viscosities" type="number"> |
− | <htmltag tagname="datalist" id=" | + | <htmltag tagname="datalist" id="viscosity"> |
− | <htmltag tagname="option" value=" | + | <htmltag tagname="option" value="100"> |
</htmltag> | </htmltag> | ||
Revision as of 18:42, 20 February 2019
Click the button to create an INPUT field, a DATALIST element and an OPTION element.
<htmltag tagname="input" list="viscosity" name="viscosities" type="number"> <htmltag tagname="datalist" id="viscosity">
<htmltag tagname="option" value="100">
</htmltag>
<htmltag tagname="input" type="submit">
<htmltag tagname="option" value="Chrome"> <htmltag tagname="option" value="Firefox"> <htmltag tagname="option" value="Opera"> <htmltag tagname="option" value="Safari">
<htmltag tagname="form" action=""></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>