What is the use of …
 
Notifications
Clear all

What is the use of Div tag in HTML?

1 Posts
2 Users
0 Likes
159 Views
0
Topic starter

What is the use of Div tag in HTML?

1 Answer
0

The <div> tag defines a division or a section in an HTML document. The <div> tag is used as a container for HTML elements – which is then styled with CSS or manipulated with JavaScript. The <div> tag is easily styled by using the class or id attribute. Any sort of content can be put inside the <div> tag!

Share: