Does there exist an HTML tag solely for the purpose of nominally grouping its children together? e.g.:
<group id="example_template">
<h3>Example</h3>
<div>...</div>
</group>
Ideally, the <group>
tag above would be css-exempt, or not affect its children, or at least have no default visual side-effects. The idea is to find the cleanest way to identify a group of contiguous nodes without introducing semantically misleading or junky markup.
An example use case is for a JavaScript HTML templating system. After rendering a template and adding it to the DOM, I'd like to keep track of that fact that the group of elements were rendered together, in case the group should be replaced later.
Open to other solutions as well.