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 |
What is html5 and why is it important?
What are Tags?
How do you know if you have html5?
What are the types of hyperlink?
Why is there extra space before or after my table?
What is semantic elements in html?
What is tagname in html?
Do you know what is the sessionstorage object in html5? How to create and access?
Do all HTML tags have end tag?
What is hyperlink in html?
What are the types of tags?
Should nav be inside header?