0

What is id and class?

Give me a suitable answer?

16th Aug 2017, 11:02 AM
mohit verma
mohit verma - avatar
2 Respostas
+ 1
class is a referral point for when you have multiple lines of text but u want make them different, like adding in size or color or background images and color or possible font colors. id's are basically the same thing, it allows you to say .one and #one. class uses (.) ids use (#). it's like binary use one or the other but u can't use the exact same class or I'd if they already exist.
21st Aug 2017, 9:34 AM
Tristen Alexander Diaz
Tristen Alexander Diaz - avatar