Search code examples
javascripthtmlcsscoding-style

Is there a recommended HTML/CSS/JavaScript coding style guide?


My team is trying to agree on a common HTML/CSS/Javascript coding style guide. I found the Google JavaScript Style Guide, but nothing similar for HTML or CSS.

I'm specifically interested if there are some recommended class or ID naming conventions that are commonly used.


Solution

  • Google actually has its own HTML and CSS style guide now: https://google.github.io/styleguide/htmlcssguide.html