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 does br mean in html?
How can you make an email link in html?
What are the different types of tags in html?
Explain formtarget attribute of html5?
Is html static or dynamic?
How do you refer to the .css file in the web page?
What is xhtml? Why xhtml?
What is html antiforgerytoken ()?
What is a combobox in html?
How do you write a meta title?
Why do you say "user agent" everywhere, instead of "browser"?
Is there a way to get indexed better by the search engines?