Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Attributes | Basics Introduction
Introduction to HTML

book
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?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 3

Ask AI

expand
ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt