A complete guide to data attributes

Chris Coyier / filed under HTML & CSS

HTML elements can have attributes on them that are used for anything from accessibility information to stylistic control.

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency