A Video for the Ojambo.com HTML5 Data Attribute article.
Part One of One
HTML elements can store multiple data attributes. Data attributes work in all current major browsers.
The video begins creating an index HTML file in the web root. The file will contain the page content and the JavaScript function.
The tutorial is broken up into four parts. The first part creates an HTML element to hold a data attribute.
The second part creates the HTML target element. The third part creates a button and its corresponding JavaScript function. The final part consists of testing output using a web browser.