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 a search tag?
Why meta tags are used in html?
What is li a in html?
how to prevent the display of getting framed in html?
How we can restrict the browser not to show the previous values entered in textbox?
What does dtd mean?
What is tr and td tag?
What is html text format?
What is layer attribute in dhtml?
What is wrong with my <meta> tags?
Do <th> tags always need to come at the start of a row or column?
What is tag in ela?