As a functional component of a web page, a link should look like a link—and obviously so. On some of our sites, color alone is used to indicate a link, but, according to WCAG 2.0 (Web Content Accessibility Guidelines), color isn’t sufficient for a link to be accessible. For general usability, when WCAG are applied, our sites become easier to use for everyone. I’d like to suggest using underlines on links as a best practice and here’s why: More
Applying programming principles to HTML, CSS and JS reveals these technologies as legitimate “players” and gives us the tools we need to build, scale and maintain—and a language to describe—the complex systems they (we) are capable of creating. OOCSS and SMACCS are applications of the object oriented paradigm to CSS. Here’s another tenet of OOP—the open/closed principle—as it applies to CSS, that Jonathan Snook just referenced from Harry Roberts’ post, open/closed principle applied to CSS.
In a nutshell –
“software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification.”
Harry looks like he’s doing a series as evidenced by April’s The Single Responsibility Principle Applied to CSS