+ 3
What does a <select> tag mean in html?
I haven't seen this in the html course or maybe can't remember it being in it, so what does it mean?
2 odpowiedzi
+ 13
Creates a list with options...
<select onchange=alert(event.target.value)>
<option value=1 selected>1</option>
<option value=2>2</option>
<option disabled>3</option>
</select>
+ 1
It is used for drop down list. You can add <option> to it .
Example:
<select>
<option>Red</option>
<option>Blue</option>
<option>Black</option>
</select>