I was just wondering what valid characters can be included as the value for a <option>
i.e. is this valid?
<select>
<option value='0dbl,2sgl'>0 Double and 2 Singles</option>
<option value='1dbl,0sgl'>1 Double and 0 Singles</option>
</select>
Yes, that’s perfectly valid. See the specification: it says the content of
valueshould beCDATA, in which pretty much everything is valid, with the following caveats: