+ 5
What does mean about "class" in HTML?
how we decide the class and what are the usages about it?
1 Respuesta
0
Say we are assigning a class to paragraph,
The HTML:
<p class = 'par'>This is a paragraph</p>
The CSS: (where class is generally used)
<!--Importing paragraph with class name-->
.par {
Assign several properties to paragraph
}