Can Select2 be used with a <select> tag?

Does Select2 support nesting options?

Yes, just like in a standard select.

How many levels of nesting can there be?

Only a single level of nesting is allowed per the HTML specification.

Can <optgroup> tags be made selectable?

No.

How are <option> and <optgroup> tags serialized into data objects?