button<\/code>s found in the wild.<\/p>\nBEM syntax<\/h3>\n
If you’re a CSS addict, you may have heard about BEM, which is a popular naming convention for HTML classes.<\/p>\n
Knowing the BEM naming style that consists of strings containing double-underscores or\/and double-dashes, we were able to guess that only 20,463 elements use the BEM naming style.<\/p>\n
Bootstrap & Font Awesome<\/h3>\n
Apparently, we found only 1,711 pages that link to CSS or JavaScript resources that contain the bootstrap[.min.].js|.css<\/code>. Also, it looks like 379 pages link to CSS resources that contain the font-awesome[.min.].css<\/code>.<\/p>\nI would have expected more.<\/p>\n
WordPress<\/h3>\n
1,866,241 pages, from the total that we analyzed, contain <meta name=\"generator\" content=\"*WordPress*\"><\/code>. We can only assume there are more that use WordPress, but some chose to remove this meta info from their sources.<\/p>\n.clearfix VS .clear VS .cf<\/h3>\n
There are many naming styles for this well-known CSS utility that help clearing the floats. Here’s the breakdown:<\/p>\n
\n\n\nSelector<\/th>\n | Count<\/th>\n<\/tr>\n<\/thead>\n |
\n\n.clearfix<\/code><\/td>\n19,573,521<\/strong><\/td>\n<\/tr>\n\n.clear<\/code><\/td>\n10,925,887<\/strong><\/td>\n<\/tr>\n\n.cf<\/code><\/td>\n1,102,698<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\nFavicon<\/h3>\nModern browsers fetch \/favicon.ico<\/code> automatically and asynchronously. So don’t manually specify its root location, just place it in there. Unless, for some reasons you prefer a different location for it.<\/p>\nIt looks like 354,024 publishers still link the \/favicon.ico<\/code> in the head<\/code>.<\/p>\nVoid elements<\/h3>\nTo close or not to close the void elements<\/a>, that is the question. Although fine with HTML either way, it is recommended to not close the void elements. At least for the sake of brevity.<\/p>\n \n\n\nElement<\/th>\n | Count<\/th>\n<\/tr>\n<\/thead>\n | \n\n<img\/><\/code><\/td>\n121,463,561<\/strong><\/td>\n<\/tr>\n\n<br\/><\/code><\/td>\n67,595,285<\/strong><\/td>\n<\/tr>\n | | | | | | | | | |