User Interface Expert Question:
Explain what are data- attributes good for?
Answer:
The HTML5 data- attribute is a new addition that assigns custom data to an element. It was built to store sensitive or private data that is exclusive to a page or application, for which there are no other matching attributes or elements.
Previous Question | Next Question |
Tell me Is JavaScript case sensitive? | Tell me what are some new input attributes in HTML5? |