css样式基本和之前的一样,这里就不提了,
HTML代码:
<div id='controls'>
Stroke color:
<select id="strokeStyleSelect">
<option value="red">red</option>
<option value="green">green</option>
<option value="blue">blue</option>
<option value="orange">orange</option>
<option value="cornflowerblue" selected>cornflowerblue</option>
<option value = 'navy'>navy</option>
<option value = 'purple'>purple</option>
</select>
<input id = 'guidewireCheckbox' type = 'checkbox'/>
<input id = 'eraseAllButton' type = 'button' value = 'Erase all'/>