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 html tags?
What is difference between html and dhtml?
What is meta charset utf8?
How do I open a dtd file?
What is the difference between a tag and an element in html?
What is the tag for image in html?
Differentiate between html and xhtml.
List out the page structure elements of html5.
How can you make a numbered list?
Is audio tag supported in html 5?
What are the components of dynamic html authoring?
When are comments used in html?