I copy the HTML of a "multi-select" list from a page which looks like that: and then paste the HTML version (after beautifying it online) in a notepad++ page.