Skip to content

Instantly share code, notes, and snippets.

@albach
Created January 22, 2018 11:29
Show Gist options
  • Save albach/1c60ee5ad167935c1db7462116a292c9 to your computer and use it in GitHub Desktop.
Save albach/1c60ee5ad167935c1db7462116a292c9 to your computer and use it in GitHub Desktop.
<h4>Multiple Select</h4>
<!-- Select tag
has 4 common attributes:
* Multple : Allows the user to select more than one option
: Can be either multiple="multiple" or simply multiple
* Size : If multiple is set, we set the height of the box containing the options.
* Name : is the key with which we will identify the value of the select tag.
* id : Will be used for labels.
-->
<div>
<select name="selection" size="5" multiple>
<option value="1">김치</option>
<option value="2">떡</option>
<option value="3" selected="selected">오뎅</option>
<option value="4">소고기</option>
<option value="5">두부</option>
<option value="6" selected>규동</option>
<option value="7">반찬</option>
</select>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment