What is <div> used for | Sololearn: Learn to code for FREE!


What is <div> used for

I have no idea what it does. Please answer my question.

9/14/2017 2:04:27 PM


6 Answers

New Answer


to sum up what they said div is a division element


Allows you to divide things up, so you can manipulate one area without affecting things outside of it. Keeps things more organized, more easily maintained, and much easier to control things on your page without cluttering up the code.


Thanks for answering guys 😊


Basically an invisible container.