Changing to a CSS class - Is it worth it?
When there are multiple inline styles on a word or phrase, it may be worth it to change to a Span class. Example: <span class="strong em">.Theoretically, we should always do this even with one word changes.
For example, even if we had something like <b>someword </b> and it would appear wordier (more characters) to have <span class="strong">someword </span>, we should remove the inline deprecated html.
HTML should provide content structure; CSS should provide style.

No comments:
Post a Comment