XHTML/ CSS - Drop Down List
Another element that might be included on a webpage is a drop-down menu:
<form action="/action_page.php"><select name="cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="fiat">Fiat</option>
<option value="audi">Audi</option>
</select>
<br><br>
<input type="submit">
</form>
Again the form action sends the data to another page to be worked on.
The <select> tags are used to hold the drop-down element.
The <option> tags are used to hold and identify the drop down option.
The value ID is used to program the data for later use.
https://www.youtube.com/watch?v=veKHw125UJs&index=23&list=PLC1322B5A0180C946
Comments