Going Global: Global Attributes
In this lesson, we will deal with setting and using global attributes in HTML DOM.
We'll cover the following
The HTML DOM defines global attributes that you can assign to every document node and it also specifies events that the browser fires either as a result of a user interaction or as a page lifecycle event.
You already saw the ID attribute as one example of global attributes. HTML5 adds a number of new global attributes and events to the markup.
📜NOTE: In this section you will learn many new attributes that can be attached to HTML elements. However, you will not see them in action. The aim of this section is to get you acquainted with these attributes and events, and not to learn the nitty-gritty details of them.
Get hands-on with 1400+ tech skills courses.