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 the role of form action?
List out the new input attributes in html5?
What is a label element?
Is html the only markup language?
What is <form> tag and why it is used?
What is ptm full form?
How do you use meta in html?
What is semantic elements?
What is isxhtml?
What is ol and ul?
What is the difference between br and br />?
What is dhtml explain with example?