what's the div and div class used for? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
- 1

what's the div and div class used for?

15th Jun 2017, 9:40 AM
Aman Dutt
Aman Dutt - avatar
2 Respuestas
+ 5
Dividing different segments of your output for editing, customization or just a cleaner, less cluttered look. Keep in mind that it's a block level element. It can be replaced with "<span></span>" if you want to use it inline.
15th Jun 2017, 10:24 AM
Leigh E. O.
Leigh E. O. - avatar