Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<select size="3">
<optgroup>
<legend>After the change</legend>
<option>One</option>
</optgroup>
</select>
<select size="3">
<optgroup>
<legend><span>After the change</span></legend>
<option>One</option>
</optgroup>
</select>
<select size="3">
<optgroup label="Before">
<legend>After the change</legend>
<option>One</option>
</optgroup>
</select>
<select size="3">
<optgroup label="After the change">
<option>One</option>
</optgroup>
</select>
<select size="3">
<optgroup label="After the change">
<div></div>
<legend>Before</legend>
<option>One</option>
</optgroup>
</select>
<select size="3">
<optgroup label="Before">
<legend>After the change</legend>
<option>One</option>
</optgroup>
</select>