Tagged “html5”

How To Use HTML5 Data-* Attributes with JQuery and Selenium

| | | |

I recently wrote a post about when it’s appropriate to use CSS classes. In it, I made the case that HTML5 Data-* attributes can be used instead of CSS classes to identify elements on a page. In this post, I’ll describe exactly how to do this.

Multiple Uses of CSS Classes

| |

CSS classes can serve multiple purposes when building web pages, which sometimes leads to ambiguity. In fact, this ambiguity is often the cause of arguments over when it’s appropriate to use CSS classes.

How to Get IE8 to Support HTML5 Tags and Web Fonts

| | | |

Though support for modern standards is limited in IE8, it’s not impossible. Here’s how to add support for HTML5 elements and web fonts.