New course! Every coder should learn Generative AI!
Try a free lesson0
<div> is an HTML element. It is a container.
The class attribute permit you to define style for a group of HTML elements.
Go check the HTML course for more explanation and check W3 schools for exemples.