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

What is the work of <div>

can you help me?

21st Aug 2017, 12:42 PM
Bon Tura
3 Answers
+ 3
Imagine it like a block on the screen. Whatever goes into <div> goes into this block. Now that means you can do a few cool things: - You can control the colours in this block - You can control the Text Format - You have full control over this one block without changing the other blocks around it. I hope this makes sense. But it makes your code more pretty
21st Aug 2017, 12:49 PM
Limitless
Limitless - avatar
+ 1
div store other elements inside
21st Aug 2017, 12:45 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
+ 1
THANK' YOU ALL OF YOU. I HOPE IT CAN HELP 😊
22nd Aug 2017, 6:40 AM
Bon Tura