0

Why does <div> need ?

22nd Sep 2017, 9:31 PM
Airat
10 ответов
+ 3
div's are used to organise sections in your code. Use it like you would chapters in a book, for example.
22nd Sep 2017, 10:08 PM
Rynhardt Du Plessis
Rynhardt Du Plessis - avatar
+ 1
I dont remember
22nd Sep 2017, 9:52 PM
Daniel
Daniel - avatar
22nd Sep 2017, 10:03 PM
Daniel
Daniel - avatar
+ 1
div is an html tag not css so I highly doubt it.. I use divs for pretty much everything.. you can style them and give them ids so that's all I really need for anything since most of everything I do is in JavaScript
22nd Sep 2017, 11:26 PM
Sploit
Sploit - avatar
0
Not need, depends what do you want to do
22nd Sep 2017, 9:32 PM
Daniel
Daniel - avatar
0
okey) i cant understand this teg, in last lesson this teg is all sentences in code) i dont know how does he use
22nd Sep 2017, 9:34 PM
Airat
0
into div you can write which you want, headers, paragraphs, javascript, php, etc
22nd Sep 2017, 9:36 PM
Daniel
Daniel - avatar
0
thank you, does css course explain this teg?
22nd Sep 2017, 9:38 PM
Airat
0
The div element in HTML is a divider. It helps organize your code into sections, while also allowing you to style bigger portions of code. It is extremely helpful when you are righting thousands of lines of code. I never really used it for smaller projects. Hope this helps and if you have any more questions I am here.
23rd Sep 2017, 12:31 AM
Mason
Mason - avatar
0
thank you guya
23rd Sep 2017, 12:30 PM
Airat