HTML5: Custom Data Attributes Part 1

5m 26s
Lno80x80white

LearnNowOnline

LearnNowOnline is an award-winning technical learning company nationally recognized for providing in-depth, real-world content to developers, IT professionals and computer... Read more

Learn how to create custom data attributes to pass data to JavaScript code from HTML markup. Part 1 of 2

HTML5 now has custom data attributes, which is a new method for adding data about your code, to your code. In this lesson, learn how to use and add custom data attributes in HTML markup. In this video's demonstration, a link will be created with custom data attributes set to determine the height and width of a pop-up window.