groups

name language licence
OptGroup HTML Other
Footer Stick to the Bottom CSS Other
Speech Bubbles CSS MIT
Conditional comments HTML Other
noscript JavaScript Other
immagine incavata CSS Other
Acronym HTML Other
iPad Orientation CSS - Landscape Mode HTML Other

< 1 2 >



language: HTML
licence: Other

OptGroup

options: view full snippetsend to code collector
<label for="showtimes">Showtimes</label>  
<select id="showtimes" name="showtimes">
	<optgroup label="1PM"></optgroup>
	<option value="titanic">Twister</option>
	<option value="nd">Napoleon Dynamite</option>
	<option value="wab">What About Bob?</option>
	<optgroup label="2PM"></optgroup>
	<option value="bkrw">Be Kind Rewind</option>
	<option value="stf">Stranger Than Fiction</option>
</select>

<!-- The <optgroup> tag is a great way to add a little definition between groups of options inside a select box. If you needed to group movie listings by time -->
	
(Continues...)