generic html5 data attributes rendering