User Interface Expert Question:

Download Job Interview Questions and Answers PDF

Explain what are data- attributes good for?

UI Developer Interview Question
UI Developer Interview Question

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.

Download UI Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me Is JavaScript case sensitive?Tell me what are some new input attributes in HTML5?