+ 1
Use of <div>.... </div> tag???
9 Antworten
+ 3
It is widely used To make different sections on the document. But in HTML5 we use <section> instead of <div> tag. Although you can use div tag to separate section content as well. Maybe I answered your question. :)
+ 2
Well, you should do the HTML course!
+ 1
A block level tag that can be used to create updatable panels. eg) AJAX
+ 1
I think that was clear enough Dev Shivnandan Mishra
+ 1
Haha.. I was once in that same spot 😂 my friend, just think of them as a way of grouping similar code
0
div is mostly used for the container for other elements. for example if you wanna apply any styling in multiple elements at once you can wrap them inside the div tag.
<div>
<h1> Hi </h1>
<p>This is a demo</p>
</div>
0
When a asker asks a question by not learning from the course or searching it in QA search bar, and when someone answers him/her very politely they not actually answer him/her, they promote them to do that again and again.