Okay, let's see a simple example.
I have a navigation list which I want to display horizontally as a menu bar. In plus I want to highlight the current element with jQuery.
How to mark up this list? My immediate answer would be this:
<ul id="navigation" class="inline-list">
<li><a href="">...</a></li>
</ul>
where .inline-list will transform this list to be displayed horizontally and #navigation will help to add jQuery on it.The rule for marking up in this case would be:
* use #ID whenever you want to locate an element
* use .class whenever you want to alter the display of an element from the standard
Is that simple rule could be extended or made universal?
That would be my question.