+ 2

Function of <div> tag in html

Do you know what is the true function of <div> tag in html

30th Jan 2018, 9:17 AM
Fajar Kurniawan
6 Respuestas
+ 3
Its main purpose is to divide your webpage into sections so that it can be easily manipulated in CSS and JavaScript.
30th Jan 2018, 9:35 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 5
<div> tag is DIVIDE and CONQUER for designers.😅 it comes very handy to act as container for stuffs and applying box properties a lot can be done to easily align, resize and position stuffs over the page
30th Jan 2018, 11:22 AM
Morpheus
Morpheus - avatar
+ 3
You can have as many divs as you want. there's no limit to it as long as the browser can handle it.
30th Jan 2018, 10:12 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 2
thx
30th Jan 2018, 10:13 AM
Fajar Kurniawan
+ 1
Thank you very much!
30th Jan 2018, 10:00 AM
Fajar Kurniawan
+ 1
can we have more than one <div>?
30th Jan 2018, 10:01 AM
Fajar Kurniawan