0
hey guys! what's the use of <div> ? I need its defination and use..
3 odpowiedzi
+ 1
The <div> tag defines a division or a section in an HTML document.
The <div> tag is used to group block-elements to format them with CSS.
usaly it's used this way :
<h1>title</h1>
< div class="first_bock">
<p> first_paragraphe</p>
<p> second_paragraphe</p>
</div>
< div class="second_bock">
<p> first_paragraphe</p>
<p> second_paragraph </p>
</div>
I hope this is helpfull.</div></div>
0
cool..thanks a lot
0
thanks