<div>Activities</div> <label>cooking<input type="checkbox" name="cooking"/></label> <label>running<input type="checkbox" name="running"/></label> <label>movies<input type="checkbox" name="movies"/></label> //Multiple checkbox inputs with the SAME name attribute. <div>Ingredients</div> <label>Onion<input type="checkbox" name="ingredient" value="onion"/></label> <label>Butter<input type="checkbox" name="ingredient" value="butter"/></label> <label>Rice<input type="checkbox" name="ingredient" value="rice"/></label>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter