+ 1

It is necessary to use classes and ids in html??

11th Jul 2020, 6:15 AM
Vaishnavi Nerkar
Vaishnavi Nerkar - avatar
5 Antworten
+ 8
Kinda, yes. It's not compulsory but as your development goes big you need to use them.
11th Jul 2020, 6:43 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 7
You don’t have to, but you can if you want to be able to select elements in CSS and JavaScript more easily. It also makes your code look neater!
11th Jul 2020, 6:16 AM
Rowsej
Rowsej - avatar
+ 6
Not necessary to use but if you want to beautify any selected portion or text then you can use classes and IDs. And believe me using this to our website or document will look more attractive and beautiful.
11th Jul 2020, 6:17 AM
Nilesh
Nilesh - avatar
+ 5
Vaishnavi Nerkar Welcome 🙂
11th Jul 2020, 6:22 AM
Nilesh
Nilesh - avatar
+ 3
Ok👍🏻👍🏻 thanks for the advice
11th Jul 2020, 6:22 AM
Vaishnavi Nerkar
Vaishnavi Nerkar - avatar