What is the use of <div class> ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the use of <div class> ?

As the output has no affect if I remove the tag

27th May 2017, 1:34 PM
Bishal Paul
Bishal Paul - avatar
1 Answer
+ 2
class and id are div's attribute ... it is useful when you want to edit different stuff and link it to css using (#) for id and (.) for class :) -happy to help
27th May 2017, 1:40 PM
Mateo Do
Mateo Do  - avatar