What is the cleanest way to group elements that will be scattered throughout a page (i.e. they cannot all be contained within a single fieldset or other container)?
1) Use the class
attribute ... (or limit using this for CSS classes?)
<div id="region1">
<p class="primary">stuff</p>
<div class="secondary">stuff</div>
</div>
stuff
<div id="region2">
<div class="secondary">stuff</div>
<div class="primary">stuff</div>
</div>
2) Use a "group" attribute ... (or avoid non-standard attributes on the elements?)
<div id="region1">
<p group="primary">stuff</p>
<div group="secondary">stuff</div>
</div>
stuff
<div id="region2">
<div group="secondary">stuff</div>
<div group="primary">stuff</div>
</div>
3) Some other way ???