id and class Attributes

Learn how to identify HTML elements on your page using ID and class attributes.

We'll cover the following...

The id and class attributes can be used to identify specific HTML elements across your HTML page.

The id attribute

The id attribute provides you with the ability to give any element a unique identifier. This ...