+ 1

What is <div> used for

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

14th Sep 2017, 2:04 PM
TLokLe
TLokLe - avatar
4 Answers
+ 4
to sum up what they said div is a division element
14th Sep 2017, 2:44 PM
lenore
lenore - avatar
+ 3
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.
14th Sep 2017, 2:08 PM
AgentSmith
+ 1
Thanks for answering guys 😊
14th Sep 2017, 2:36 PM
TLokLe
TLokLe - avatar
- 2
Basically an invisible container.
14th Sep 2017, 2:13 PM
josh mizzi
josh mizzi - avatar