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
- Creative Web Designer at ADP / Autotegrity (Cambridge, MA, Ma, US)
- (re)define our guts: FarmersWeb seeking Lead Web Engineer at FarmersWeb, LLC (New York, NY, Ne, US)
- Java Software Developer eCommerce at arvato Systems North America (New York, NY; San Francisco, CA; Chicago, IL, Il, US)
- Sr Product Designer -UX at Blurb (SanFrancisco, CA, Ca, US)
DreamHost web hosting
Use the promo code 456BEREASTREET3 to save USD 20 when you sign up for DreamHost