Custom Attributes
In this lesson, we will study about creating custom attributes in HTML. Let's begin!
We'll cover the following
HTML5 adds many new elements and changes the definition of old ones to support semantic web development.
An important step toward this paradigm is that HTML5 allows using custom attributes. This is very important because you can use them to provide your own semantic to your own markup building blocks.
To understand the way HTML5 defines and utilizes custom attributes, take a look at the Listing below.
Listing: Exercise/index.html
Get hands-on with 1400+ tech skills courses.