CSS uses either the tag names or the class attribute to do its work. Cascading, The C in CSS means it will use the more detailed entry to override the less detailed entry, meaning a class="xxx" attribute will override a tag like h2, or you can also use them together to be even more precise. So the answer is it will work in either the styles or the tags but the effect may end up different. For example if you want all h2 tags to be centered you would do it in the tags but if only some of the tags then use styles.
Note also in xhtml the tags are in lower case.
Dale
|