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

Do all html tags have an end tag?

852


Explain Block Elements?

890


What is a web worker in html5?

835


What are types of tags in html?

830


Which video and audio formats are used for embedding on web page?

864


Does html5 work on internet explorer?

917


What is the use of Canvas element?

997


How many tags are defined in xhtml 1.0?

859


How is fontsize and font size differ in dhtml?

905


What are the different types of frames tags used in html?

817


How do you define html5?

893


What is

tag and why it is used for?

812


What are the body tag attributes?

908


Should nav be inside header?

890


What is the difference between standard mode and quirks mode?

926