Edit in JSFiddle


              
<input type="checkbox" name=“sample” value="1">1
<input type="checkbox" name=“sample” value="2">2
<input type="checkbox" name=“sample” value="3">3