changed attribute (and examples) to use data-attribute for html5 validity