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.
This article has been translated into the following languages:
- Turkish: CSS Sınıfı değil, Sınıf
Subscribe / follow
- PHP Developer at XYZ.com (Beverly Hills, CA, Ca, US)
- Front-end Developer at Bad Assembly (Los Angeles, CA, Ca, US)
- WordPress Developer at Maskar Design (Philadelphia, PA, Pe, US)
- Lead Rails dev for Awesome + Funded London Social Recruiting StartUp, (Full-time, Telecommute) at Likeminds
DreamHost web hosting
Use the promo code 456BEREASTREET3 to save USD 20 when you sign up for DreamHost