What is the purpose of the data-* attribute?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
Custom attributes to store extra information on elements for JavaScript usage. Example:
<div data-user-id="12345">John Doe</div>
| Is This Answer Correct ? | 0 Yes | 0 No |
Custom attributes to store extra information on elements for JavaScript usage. Example:
<div data-user-id="12345">John Doe</div>
| Is This Answer Correct ? | 0 Yes | 0 No |
Is textarea an empty tag in html?
What is the limit of keywords meta tag?
Where do I learn coding?
How do I use forms?
Is html a scripting language?
What is the Application Cache in HTML5 and why it is used?
What is tr and td in html?
How to increase 12 grids of bootstrap to 18 grids.
What is html antiforgerytoken ()?
How do I use nbsp?
Do older HTML files work on newer browsers?
When should I use html5?