Relative Content

Tag Archive for javascripthtmlcsscustom-data-attribute

How to hide HTML data-* attibutes from the output code of the page?

have a problem with prettifying my html code. I have a lot divs (whole page design is based on them) with multiple html data-* attributes. It’s all working great but that’s a lot of code and I need to prettify it somehow, maybe hiding data-* attributes in another file or js?
Divs look like this: