Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the purpose of the data-* attribute?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why to use figure tag in html5?

1069


Does localstorage expire?

844


Does html5 support offline storage?

801


What is the tag to create lists in html?

759


Does html5 require closing tags?

801


How many ways to use colors apply on html elements?

788


What is content in html?

876


What are the advantages of flash?

892


Write a code to change the color of the background or text?

800


What is textcontent?

868


What are the body tag attributes?

861


How to create mail and phone link in html?

798


What is html xhtml and html5?

791


What is a footer code?

906


Is color a new html5 element of input type?

822