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 |
How do you use a br tag?
Is the br tag deprecated?
What is semantic elements in html5? List some semantic elements
What is ordered list?
What are title tags?
Why are not my frames the exact size I specified?
What is the purpose of html?
Describe HTML Element?
How dhtml is used in internet explorer?
How are tags migrated from html4 to html5?
How can I check for errors?
How to open a link in new tab or window?