HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML div Tag

HTML div Tag



The div tag defines a division or a section in an HTML document. It is used as a container. We can change its style by assigning it the id or class. We can put any type of content inside it.




Its syntax is:- < div >

Code Explanation

All Tutorials related to HTML Tags List

All Sections related to HTML