It’s “class”, not “CSS class”
Sometimes when people talk about class names in HTML, they mistakenly call them “CSS classes”. I’m guessing that most of the time this is something they have picked up from server side development frameworks that use “CssClass” properties to specify the value of
class attributes. Another possible source is content management systems that use “CSS Class” in their editor interfaces.
I wouldn’t see a problem with this if the
So please try to refer to values of the HTML
class attribute as classes, class names or HTML classes instead of CSS classes.
This post is a Quick Tip. Background info is available in Quick Tips for web developers and web designers.