Attributes
Attributes contain additional information and can be used to customize the element or provide additional functionalities.
Working with the example of an h1
element from the previous chapter, we have added a class
attribute followed by an equal sign and its value.
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 3
Ask AI
Ask anything or try one of the suggested questions to begin our chat