Jump to the main content.

Tips&Tricks for the modern day web designer

Don’t give presentational names to classes and ids

Submitted by: Jacob Gube. on May 18, 2009.

When creating your class and id attributes try not to use the naming which describes the location and/or appearance of web page elements. Structural naming convention is the way to go.

Read the outside article: Structural Naming Convention in CSS

1 Star2 Stars3 Stars4 Stars5 Stars

Loading ... Loading ...