skip to Main Content

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


  1. 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.

    Login or Signup to reply.
  2. The element is used as a container for other HTML elements. The Element The element is by default a block element

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search