Difference between revisions of "Template:Dropdown"

From UMaine SECS Numerical Modeling Laboratory
Jump to: navigation, search
 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
<p>Click the button to create an INPUT field, a DATALIST element and an OPTION element.</p>
+
<div comment='This template can be used to change images depending on the selection
 +
of an item in a dropdown menu.'></div>
  
<div id='displayText'>
+
<htmlet nocache="yes">dropdown</htmlet>
</div>
 
 
 
<htmltag tagname="a" href="http://en.wikipedia.org/wiki/Antarctica" class="my-links">Read about Antarctica</htmltag>
 
 
 
<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>
 

Latest revision as of 21:46, 27 February 2019

Dropdown