0
The <div> element
Why the most webpage source and the good one have the <div> so much , whatâs useful for used it ?
2 Answers
+ 7
Div means division. It can be used to create containers. So many developers use div to create sections in a container on the web page. Div can also be used to style parts of the page so that it looks different than other parts.
Today we use Semantic tags such as <main> <nav> <aside> <section> <article.> <footer> in place of divs to section our webpage. But div is still useful.
+ 1
I dont and I wont use those fancy html5 aside, section, etc tags. I still prefer div tags spaced out with css. I dont like using bootstrap anymore but it sure is handy if you need to arrange columns using divs