DOM data code example
Example 1: data attribute html
<!-- data-* attritubes can be used on any html element -->
<div data-my-custom-data="true"></div>
Example 2: DOM
<body onload="window.alert('Welcome to my home page!');">
<!-- data-* attritubes can be used on any html element -->
<div data-my-custom-data="true"></div>
<body onload="window.alert('Welcome to my home page!');">