🎁 Join my channel to get access to perks:
HTML5 custom attributes (or data attributes) allow you to store extra information on HTML elements without the need to do any hacks to do so. such as non-standard attributes, or extra properties on DOM.
In this tutorial, I will show you how to properly create custom attributes for HTML elements.
You will also learn how to access/read custom (data) attributes with CSS, using the function attr(), also you will learn how to select elements in CSS using these custom attributes.
🕔 Timeline :
00:00:00 – Intro
00:00:17 – HTML Syntax
00:04:30 – CSS Access
🌍 Social Media Links.
◾ Facebook : https://www.facebook.com/Code.Explained.Official
◾ Twitter : https://twitter.com/code_explained
◾ Instagram : https://www.instagram.com/Code.Explained.Official/
◾ GitHub : https://github.com/CodeExplainedRepo