Web Development Ninjas Question:

Do you know what are data- attributes good for?

Tweet Share WhatsApp

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 Ninjas Web Developer PDF Read All 58 Ninjas Web Developer Questions
Previous QuestionNext Question
What is the new DOCTYPE?Explain me why did you decide to add multiplayer to your game? Why Nextpeer?