custom fields ckeckboxes - output checked items as list

How can I output the checked elements of a checkbox custom field as list elements, or wrap each in any html element ?