0

Is <div> important

Do we have to use <div></div> on the content we want to style

23rd Oct 2019, 8:38 AM
Laxmi Pandey
7 ответов
+ 5
It is very essential to structure and divide your webpage. If you meant using the <div> tag with an attribute of class or id, it is, but its up to you. Basically, I use <div>'s as a container of correlated elements to position them easily and effectively on the page.
23rd Oct 2019, 8:55 AM
Nootnoot
Nootnoot - avatar
+ 1
it is better to use the same tag for all containers because u will write styles for them and will need to write the same styles several times if it will be different tags, but it can be any block element and not “div” only.
25th Oct 2019, 4:03 AM
Lilit Yeghiazaryan
Lilit Yeghiazaryan - avatar
0
No because we have many tags in html . example - p tag and span tag
23rd Oct 2019, 9:43 AM
coder
coder - avatar
0
Not necessary to use Div tag. If you are aware with HTML4 or HTML5 there is new tag introduced. You can use them behalf of div tag
23rd Oct 2019, 12:31 PM
A͢J
A͢J - avatar
0
It is not necessary or mandatory to use <div> tag always. You can use <section> tag instead of <div> tag. Which is introduced in html5
24th Oct 2019, 5:17 AM
sri
0
You have to exaplain c programming
25th Oct 2019, 12:59 AM
Dinesh Dinesh
Dinesh Dinesh - avatar
0
To me
25th Oct 2019, 12:59 AM
Dinesh Dinesh
Dinesh Dinesh - avatar