0

is it important to use the class="" in my html code linked to my css cod?

26th Jun 2016, 10:22 PM
Benjamin
Benjamin - avatar
4 odpowiedzi
+ 2
You can use a class to apply a style to a group of content that share the same style, instead you can use an id if you want to apply a style just for one element
27th Jun 2016, 4:49 AM
Alejandro Bozzi
0
I second that answer.
27th Jun 2016, 6:18 AM
PersonalFoul
PersonalFoul - avatar
0
Not only classes and ids, but also generic tags such as <p>.
29th Jun 2016, 9:37 PM
Kevin Kelley
Kevin Kelley - avatar
0
Classes are used to define different parts of the pages. You can use the same class more then 1 time and you can use unlimited classes.
3rd Jul 2016, 4:39 PM
Victor Stamoff
Victor Stamoff - avatar