+ 19

Class names in HTML5

When do we need to use several class names for one element in HTML5?

1st Mar 2019, 5:34 PM
Mairuna
Mairuna - avatar
5 Answers
+ 10
Got it, thank you, friend! 😃✨
1st Mar 2019, 6:15 PM
Mairuna
Mairuna - avatar
+ 9
Thank you! Can you please explain what elements may only use one class name? 😃
1st Mar 2019, 6:07 PM
Mairuna
Mairuna - avatar
+ 9
Mairuna every element can use multiple classes.
2nd Mar 2019, 1:33 AM
A͢J
A͢J - avatar
+ 7
Mairuna but id must be single...
2nd Mar 2019, 1:34 AM
A͢J
A͢J - avatar
+ 1
For more specifications you can use several class in one element..
2nd Mar 2019, 12:49 PM
Md Jahid Hasan Marof
Md Jahid Hasan Marof - avatar