The optgroup tag

Optgroup, label, fieldset/legend, col/colgroup and acronym are rich and useful but infrequently used HTML tags.

GMail makes good use of the OptGroup tag for its mail labeling feature.

The optgroup, which stands for Option Group, is an element that groups a set of option elements, inside a select element, and labels them. It is perfect for showing states and cities, countries and states, and other similar categorized items.

Unfortunately, this element is not generated by any ASP.NET server controls...


XList is a custom Server control that supports the OptGroup tag

Comments

Popular posts from this blog

Uncle Bob vs. Grady Booch: Rethinking Code Reviews in the Age of AI

This Week I Learned - Week 14 2026

10 Tips to Avoid Claude Usage Limits