I want to learn the use of div tag.
and also want to know what does this tag do in html.
tried myself several times but failed.
tried to use div tag but i failed .
also want to learn the use of div tag in html.
how to enable the div tag in html.
i tried to learn the use of div tag but failed also tried to use it in my html code but it was not working
2
Answers
The tag defines a division or a section in an HTML document. The tag is used as a container for HTML elements – which is then styled with CSS or manipulated with JavaScript.
The element is used as a container for other HTML elements. The Element The element is by default a block element