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

Is it possible to list elements straight in an html file?

786


What is a meta tag example?

844


How to make a picture of a background image of a web page?

835


What is div short for?

810


What is the purpose of ? Explain

962


HTML 5 provides drag and drop facility. How do you make an image draggable?

1202


Why are meta tags important?

808


What is p tag in html?

769


How to update two frames at the same time using html?

793


What is doctype?

837


Why doesn't

use the full browser width?

779


What is difference between html5 and html4?

772


What is content type in html?

757


What is main element in html5?

857


When is it appropriate to use frames?

847