gecko-dev/servo/tests/html/select.html

24 строки
629 B
HTML

<select>
<option>hi</option>
<option>hi2</option>
<option selected>hi to you too!</option>
<option>again, again!</option>
<option>and one more</option>
</select>
<br><br>
<select multiple>
<option>hi</option>
<option>hi2</option>
<option selected>hi to you too!</option>
<option selected>again, again!</option>
<option>and one more</option>
</select>
<select multiple>
<option>hi</option>
<option>hi2</option>
<option selected>hi to you too!</option>
<option selected>again, again!</option>
<option>and one more</option>
</select>
<script>document.getElementsByTagName('select')[1].focus()</script>