TagBuilder is a nice implementation for build HTML elements. But -some- HTML elements can have another elements (I called like children). I could not find any class from Mvc classes.
Question; Should I implement few classes (TagBuilderTree, and TagBuilderNode) which support nested tags or did I miss something?
You can build the child elements in separate TagBuilders and put their generated HTML in the parent TagBuilder.
Here's an example: A
<select>
with some<option>
s (example de-fatted for terseness)